{"id":"CVE-2025-24294","published":"2025-07-12T03:30:40Z","modified":"2025-07-16T13:37:43Z","title":"The attack vector is a potential Denial of Service (DoS)","vendor":"Ruby","product":"resolv","tier":"tail","description":{"text":"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.\r\n\r\nAn 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.\r\n\r\nThis resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00656,"percentile":0.52333,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/","tags":[]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.47},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"ruby","affectedVersions":[{"vendor":"Ruby","product":"resolv","versions":[">= 0.2, <= 0.2.2",">= 0.3.0, <= 0.3.0",">= 0.6, <= 0.6.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-15T13:48:11.171487Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"resolv","vulnerableRanges":["<0.2.3",">=0.4.0, <0.6.2",">=0.3.0, <0.3.1"],"patched":["0.2.3","0.6.2","0.3.1"],"from":["GHSA-xh69-987w-hrp8"],"provenance":"source"}],"summary":{"text":"The resolv library in Ruby does not limit the decompressed length of domain names when parsing DNS packets, so a crafted packet containing a highly compressed name can force excessive CPU consumption. An attacker needs only to send a malicious DNS packet over the network to a system that uses resolv to parse it, with no authentication, no user interaction, and no special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:38Z"},"euvd":{"id":"EUVD-2025-21202","exploited":false,"provenance":"source"}}