CVE-2025-24294
July 12, 2025
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
https://github.com/ruby/resolv.git (GITHUB):
Affected version(s) >=v0.4.0 <v0.6.2Fix Suggestion:
Update to version v0.6.2https://github.com/ruby/resolv.git (GITHUB):
Affected version(s) >=v0.2.0 <v0.2.3Fix Suggestion:
Update to version v0.2.3https://github.com/ruby/resolv.git (GITHUB):
Affected version(s) =v0.3.0 <v0.3.1Fix Suggestion:
Update to version v0.3.1resolv (RUBY):
Affected version(s) =0.3.0 <0.3.1Fix Suggestion:
Update to version 0.3.1resolv (RUBY):
Affected version(s) >=0.2.0 <0.2.3Fix Suggestion:
Update to version 0.2.3resolv (RUBY):
Affected version(s) >=0.1.0 <0.2.3Fix Suggestion:
Update to version 0.2.3resolv (RUBY):
Affected version(s) >=0.4.0 <0.6.2Fix Suggestion:
Update to version 0.6.2Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.07