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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | ruby | All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16) |
| Amazon Linux:2 | ruby-debuginfo | All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16) |
| Amazon Linux:2 | ruby-devel | All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16) |
| Amazon Linux:2 | ruby-doc | All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16) |
| Amazon Linux:2 | ruby-irb | All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16) |
| Amazon Linux:2 | ruby-libs | All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16) |
| Amazon Linux:2 | ruby-tcltk | All versions before 2.0.0.648-36.amzn2.0.16 (fixed in 2.0.0.648-36.amzn2.0.16) |
| Amazon Linux:2 | rubygem-bigdecimal | All versions before 1.2.0-36.amzn2.0.16 (fixed in 1.2.0-36.amzn2.0.16) |
| Amazon Linux:2 | rubygem-io-console | All versions before 0.4.2-36.amzn2.0.16 (fixed in 0.4.2-36.amzn2.0.16) |
| Amazon Linux:2 | rubygem-json | All versions before 1.7.7-36.amzn2.0.16 (fixed in 1.7.7-36.amzn2.0.16) |
| Amazon Linux:2 | rubygem-minitest | All versions before 4.3.2-36.amzn2.0.16 (fixed in 4.3.2-36.amzn2.0.16) |
| Amazon Linux:2 | rubygem-psych | All versions before 2.0.0-36.amzn2.0.16 (fixed in 2.0.0-36.amzn2.0.16) |
| Amazon Linux:2 | rubygem-rake | All versions before 0.9.6-36.amzn2.0.16 (fixed in 0.9.6-36.amzn2.0.16) |
| Amazon Linux:2 | rubygem-rdoc | All versions before 4.0.0-36.amzn2.0.16 (fixed in 4.0.0-36.amzn2.0.16) |
| Amazon Linux:2 | rubygems | All versions before 2.0.14.1-36.amzn2.0.16 (fixed in 2.0.14.1-36.amzn2.0.16) |
| Amazon Linux:2 | rubygems-devel | All versions before 2.0.14.1-36.amzn2.0.16 (fixed in 2.0.14.1-36.amzn2.0.16) |