ADVISORIES

Amazon Linux Security Advisory

ALAS2-2025-2957

Amazon Linux 2 2017.12 - ALAS2-2025-2957: medium priority package update for ruby

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-24294: The attack vector is a potential Denial of Service (DoS). The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet.

An attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name.

This resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2ruby
All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16)
Amazon Linux:2ruby-debuginfo
All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16)
Amazon Linux:2ruby-devel
All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16)
Amazon Linux:2ruby-doc
All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16)
Amazon Linux:2ruby-irb
All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16)
Amazon Linux:2ruby-libs
All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16)
Amazon Linux:2ruby-tcltk
All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16)
Amazon Linux:2rubygem-bigdecimal
All versions before 1.2.0-36.amzn2.0.16 (fixed in 1.2.0-36.amzn2.0.16)
Amazon Linux:2rubygem-io-console
All versions before 0.4.2-36.amzn2.0.16 (fixed in 0.4.2-36.amzn2.0.16)
Amazon Linux:2rubygem-json
All versions before 1.7.7-36.amzn2.0.16 (fixed in 1.7.7-36.amzn2.0.16)
Amazon Linux:2rubygem-minitest
All versions before 4.3.2-36.amzn2.0.16 (fixed in 4.3.2-36.amzn2.0.16)
Amazon Linux:2rubygem-psych
All versions before 2.0.0-36.amzn2.0.16 (fixed in 2.0.0-36.amzn2.0.16)
Amazon Linux:2rubygem-rake
All versions before 0.9.6-36.amzn2.0.16 (fixed in 0.9.6-36.amzn2.0.16)
Amazon Linux:2rubygem-rdoc
All versions before 4.0.0-36.amzn2.0.16 (fixed in 4.0.0-36.amzn2.0.16)
Amazon Linux:2rubygems
All versions before 2.0.14.1-36.amzn2.0.16 (fixed in 2.0.14.1-36.amzn2.0.16)
Amazon Linux:2rubygems-devel
All versions before 2.0.14.1-36.amzn2.0.16 (fixed in 2.0.14.1-36.amzn2.0.16)

References