Skip to main content
← All vulnerabilities
CVE-2025-24294GHSA-XH69-987W-HRP8

The attack vector is a potential Denial of Service (DoS).

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.3, 0.6.2, 0.3.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Ruby resolv

    From 0.2 · through 0.2.2; From 0.3.0 · through 0.3.0; From 0.6 · through 0.6.1

  • resolvRubyGems

    fixed in 0.2.3

  • resolvRubyGems

    From 0.4.0 · fixed in 0.6.2

  • resolvRubyGems

    From 0.3.0 · fixed in 0.3.1

References 1

ruby-lang.org