CVE-2025-24294 resolv vulnerable to DoS via insufficient DNS domain name length validation
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
14 packages: 9 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ruby3.1(Debian 12) | = 3.1.2-7; = 3.1.2-7+deb12u1; = 3.1.2-7+hurd.1; = 3.1.2-8 +5 more | No fix listed | No fix yet |
| debian/ruby3.3(Debian 14) | = 3.3.8-2; = 3.3.8-2.1; = 3.3.8-2.2; All versions | No fix listed | No fix yet |
| ubuntu/jruby(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/jruby(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/jruby(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux ruby(Azure Linux 3.0) | < 3.3.5-5 | 3.3.5-5 | Fixed |
| cbl-mariner ruby(CBL-Mariner 2.0) | < 3.1.7-3 | 3.1.7-3 | Fixed |
| debian/ruby3.3(Debian 13) | < 3.3.13-0+deb13u1; = 3.3.8-2; = 3.3.8-2.1; = 3.3.8-2.2 | 3.3.13-0+deb13u1 | Fixed |
| ruby resolv | >= 0.2, <= 0.2.2; >= 0.3.0, <= 0.3.0; >= 0.6, <= 0.6.1 | after 0.2.2, 0.3.0, 0.6.1 | Fixed |
| rubygems resolv(RubyGems) | < 0.2.3; = 0.1.0; = 0.2.0; = 0.2.1 +8 more | 0.2.3, 0.3.1, 0.6.2 | Fixed |
| ubuntu/ruby3.0(Ubuntu 22.04) | < 3.0.2-7ubuntu2.11 | 3.0.2-7ubuntu2.11 | Fixed |
| ubuntu/ruby3.2(Ubuntu 24.04) | < 3.2.3-1ubuntu0.24.04.6 | 3.2.3-1ubuntu0.24.04.6 | Fixed |
| ubuntu/ruby3.3(Ubuntu 26.04) | < 3.3.8-2ubuntu2 | 3.3.8-2ubuntu2 | Fixed |
| ubuntu/rubygems(Ubuntu 26.04) | < 3.6.7-2ubuntu1 | 3.6.7-2ubuntu1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner ruby(CBL-Mariner:2.0) | < 3.1.7-3 | 3.1.7-3 |
| azure linux ruby(Azure Linux:3.0) | < 3.3.5-5 | 3.3.5-5 |
| rubygems resolv(RubyGems) | < 0.2.3 | 0.2.3 |
| rubygems resolv(RubyGems) | = 0.1.0 | No fix listed |
| rubygems resolv(RubyGems) | = 0.2.0 | No fix listed |
| rubygems resolv(RubyGems) | = 0.2.1 | No fix listed |
| rubygems resolv(RubyGems) | = 0.2.2 | No fix listed |
| rubygems resolv(RubyGems) | >= 0.4.0, < 0.6.2 | 0.6.2 |
| rubygems resolv(RubyGems) | = 0.4.0 | No fix listed |
| rubygems resolv(RubyGems) | = 0.5.0 | No fix listed |
| rubygems resolv(RubyGems) | = 0.6.0 | No fix listed |
| rubygems resolv(RubyGems) | = 0.6.1 | No fix listed |
| rubygems resolv(RubyGems) | >= 0.3.0, < 0.3.1 | 0.3.1 |
| rubygems resolv(RubyGems) | = 0.3.0 | No fix listed |
| debian/ruby3.1(Debian:12) | All versions | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-7 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-7+deb12u1 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-7+hurd.1 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8.1~exp1 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8.3 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8.4 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8.5 | No fix listed |
| debian/ruby3.3(Debian:13) | < 3.3.13-0+deb13u1 | 3.3.13-0+deb13u1 |
| debian/ruby3.3(Debian:13) | = 3.3.8-2 | No fix listed |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ruby3.3(Debian:13) | = 3.3.8-2.1 | No fix listed |
| debian/ruby3.3(Debian:13) | = 3.3.8-2.2 | No fix listed |
| debian/ruby3.3(Debian:14) | All versions | No fix listed |
| debian/ruby3.3(Debian:14) | = 3.3.8-2 | No fix listed |
| debian/ruby3.3(Debian:14) | = 3.3.8-2.1 | No fix listed |
| debian/ruby3.3(Debian:14) | = 3.3.8-2.2 | No fix listed |
| ruby resolv | >= 0.2, <= 0.2.2 | No fix listed |
| ruby resolv | >= 0.3.0, <= 0.3.0 | No fix listed |
| ruby resolv | >= 0.6, <= 0.6.1 | No fix listed |
| ubuntu/ruby3.0(Ubuntu:22.04) | < 3.0.2-7ubuntu2.11 | 3.0.2-7ubuntu2.11 |
| ubuntu/jruby(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ruby3.2(Ubuntu:24.04) | < 3.2.3-1ubuntu0.24.04.6 | 3.2.3-1ubuntu0.24.04.6 |
| ubuntu/jruby(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/ruby3.3(Ubuntu:26.04) | < 3.3.8-2ubuntu2 | 3.3.8-2ubuntu2 |
| ubuntu/rubygems(Ubuntu:26.04) | < 3.6.7-2ubuntu1 | 3.6.7-2ubuntu1 |
| ubuntu/jruby(Ubuntu:26.10) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com exploit
- www.ruby-lang.org vendor-advisory
- Debian Security Tracker CVE-2025-24294 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- USN-7734-1 vendor-advisory
- USN-7735-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking