ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-1168

Amazon Linux 2023 - ALAS2023-2025-1168: Medium priority package update for ruby3.2

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-43857: Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5, there is a possibility for denial of service by memory exhaustion when net-imap reads server responses. At any time while the client is connected, a malicious server can send can send a "literal" byte count, which is automatically read by the client's receiver thread. The response reader immediately allocates memory for the number of bytes indicated by the server response. This should not be an issue when securely connecting to trusted IMAP servers that are well-behaved. It can affect insecure connections and buggy, untrusted, or compromised servers (for example, connecting to a user supplied hostname). This issue has been patched in versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023ruby3.2
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-bundled-gems
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-bundled-gems-debuginfo
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-debuginfo
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-debugsource
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-default-gems
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-devel
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-doc
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-libs
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-libs-debuginfo
All versions before 3.2.8-184.amzn2023.0.5 (fixed in 3.2.8-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-bigdecimal
All versions before 3.1.3-184.amzn2023.0.5 (fixed in 3.1.3-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-bigdecimal-debuginfo
All versions before 3.1.3-184.amzn2023.0.5 (fixed in 3.1.3-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-bundler
All versions before 2.4.19-184.amzn2023.0.5 (fixed in 2.4.19-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-io-console
All versions before 0.6.0-184.amzn2023.0.5 (fixed in 0.6.0-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-io-console-debuginfo
All versions before 0.6.0-184.amzn2023.0.5 (fixed in 0.6.0-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-irb
All versions before 1.6.2-184.amzn2023.0.5 (fixed in 1.6.2-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-json
All versions before 2.6.3-184.amzn2023.0.5 (fixed in 2.6.3-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-json-debuginfo
All versions before 2.6.3-184.amzn2023.0.5 (fixed in 2.6.3-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-minitest
All versions before 5.25.1-184.amzn2023.0.5 (fixed in 5.25.1-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-power_assert
All versions before 2.0.3-184.amzn2023.0.5 (fixed in 2.0.3-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-psych
All versions before 5.0.1-184.amzn2023.0.5 (fixed in 5.0.1-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-psych-debuginfo
All versions before 5.0.1-184.amzn2023.0.5 (fixed in 5.0.1-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-rake
All versions before 13.0.6-184.amzn2023.0.5 (fixed in 13.0.6-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-rbs
All versions before 2.8.2-184.amzn2023.0.5 (fixed in 2.8.2-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-rbs-debuginfo
All versions before 2.8.2-184.amzn2023.0.5 (fixed in 2.8.2-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-rdoc
All versions before 6.5.1.1-184.amzn2023.0.5 (fixed in 6.5.1.1-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-rexml
All versions before 3.3.9-184.amzn2023.0.5 (fixed in 3.3.9-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-rss
All versions before 0.3.1-184.amzn2023.0.5 (fixed in 0.3.1-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-test-unit
All versions before 3.5.7-184.amzn2023.0.5 (fixed in 3.5.7-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygem-typeprof
All versions before 0.21.3-184.amzn2023.0.5 (fixed in 0.21.3-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygems
All versions before 3.4.19-184.amzn2023.0.5 (fixed in 3.4.19-184.amzn2023.0.5)
Amazon Linux:2023ruby3.2-rubygems-devel
All versions before 3.4.19-184.amzn2023.0.5 (fixed in 3.4.19-184.amzn2023.0.5)

References