Home

Description

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.

PUBLISHED Reserved 2025-01-17 | Published 2025-07-12 | Updated 2025-07-16 | Assigner hackerone

Product status

Default status
unaffected

0.2 (custom)
affected

0.3.0 (custom)
affected

0.6 (custom)
affected

References

www.ruby-lang.org/...s/2025/07/08/dos-resolv-cve-2025-24294/ vendor-advisory

www.ruby-lang.org/...s/2025/07/08/dos-resolv-cve-2025-24294/

cve.org (CVE-2025-24294)

nvd.nist.gov (CVE-2025-24294)

Download JSON