Skip to content
OpenAdvisories
Medium ALAS2023-2025-929 3 CVEs

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

Published Apr 9, 2025 · Updated Apr 14, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-27220: In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method. CVE-2025-27219: In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability. The method does not impose any limit on the length of the raw cookie value it processes. This oversight can lead to excessive resource consumption when parsing extremely large cookies. CVE-2025-25186: Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Starting in version 0.3.2 and prior to versions 0.3.8, 0.4.19, and 0.5.6, there is a possibility for denial of service by memory exhaustion in `net-imap`'s response parser. At any time while the client is connected, a malicious server can send can send highly compressed `uid-set` data which is automatically read by the client's receiver thread. The response parser uses `Range#to_a` to convert the `uid-set` data into arrays of integers, with no limitation on the expanded size of the ranges. Versions 0.3.8, 0.4.19, 0.5.6, and higher fix this issue. Additional details for proper configuration of fixed versions and backward compatibility are available in the GitHub Security Advisory.

Fixed packages 32

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

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-25186.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-27219.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-27220.html