Skip to content
OpenAdvisories
Medium ALAS2023-2025-1168 1 CVE

Moderate: ruby3.2 security update (Amazon Linux 2023)

Published Aug 26, 2025 · Updated Sep 8, 2025

Summary

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.

Fixed packages 32

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

Vulnerabilities 1

  • Medium 6.0

    net-imap rubygem vulnerable to possible DoS by memory exhaustion

    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 w…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-43857.html