ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-921

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

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-43398: REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.

CVE-2024-41946: REXML is an XML toolkit for Ruby. The REXML gem 3.3.2 has a DoS vulnerability when it parses an XML that has many entity expansions with SAX2 or pull parser API. The REXML gem 3.3.3 or later include the patch to fix the vulnerability.

CVE-2024-41123: REXML is an XML toolkit for Ruby. The REXML gem before 3.3.2 has some DoS vulnerabilities when it parses an XML that has many specific characters such as whitespace character, >] and ]>. The REXML gem 3.3.3 or later include the patches to fix these vulnerabilities.

CVE-2024-39908: REXML is an XML toolkit for Ruby. The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as <, 0 and %>. If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.

CVE-2024-35176: REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many &lt;s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.

Affected packages

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

References