{"answers":{"affected":"6 open source packages ship an affected version, including resolv.","exploited":"There is no known exploitation of CVE-2025-24294 in the wild and no public exploit code.","fix":"Upgrade resolv to a fixed version for your release line: 0.2.3, 0.3.1 or 0.6.2.","what":"CVE-2025-24294 is a high-severity denial of service vulnerability in Ruby resolv, published on 12 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-24294 and fix it if it is affected.\n\nWhat it is: CVE-2025-24294 is a high-severity denial of service vulnerability in Ruby resolv, published on 12 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-24294 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- resolv (RubyGems): affected all versions; fixed in 0.2.3\n- resolv (RubyGems): affected all versions; fixed in 0.2.3\n- resolv (RubyGems): affected from 0.3.0; fixed in 0.3.1\n- resolv (RubyGems): affected from 0.3.0; fixed in 0.3.1\n- resolv (RubyGems): affected from 0.4.0; fixed in 0.6.2\n- resolv (RubyGems): affected from 0.4.0; fixed in 0.6.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-24294/ (Markdown: https://insights.sbomify.com/CVE-2025-24294/index.md)","id":"CVE-2025-24294","markdown":"https://insights.sbomify.com/CVE-2025-24294/index.md","name":"CVE-2025-24294","record":{"aliases":["AZL-65202","AZL-65241","BELL-CVE-2025-24294","CLSA-2026-1768209702","CLSA-2026-1768301582","DEBIAN-CVE-2025-24294","ECHO-1466-059c-a8c5","GHSA-xh69-987w-hrp8","MINI-7fjj-vcc4-w34p","MINI-gjmm-fr84-ghr5","MINI-v8p2-jv76-37m8","MINI-vq79-cj57-p6w6","MINI-wg6f-c62c-j3q8","MINI-xfhr-h966-q9qg","SUSE-SU-2025:3776-1","UBUNTU-CVE-2025-24294"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby resolv library","requires_auth":"none","summary":"An attacker can cause a Denial of Service in applications using the Ruby resolv library by sending malicious DNS packets that trigger excessive CPU consumption during name decompression.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.\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.","ecosystems":["RubyGems","SUSE:Linux Enterprise Module for Basesystem 15 SP6","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"resolv vulnerable to DoS via insufficient DNS domain name length validation","id":"CVE-2025-24294","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":8,"n_references":1,"next":{"headline":"Denial of service in firmware for the Intel(R) E810 Ethernet","id":"CVE-2025-24296"},"packages":[{"ecosystem":"RubyGems","fixed":["0.2.3"],"introduced":["0"],"last_affected":[],"package":"resolv","purl":null,"source":"GHSA-xh69-987w-hrp8"},{"ecosystem":"RubyGems","fixed":["0.2.3"],"introduced":["0"],"last_affected":[],"package":"resolv","purl":"pkg:gem/resolv","source":"GHSA-xh69-987w-hrp8"},{"ecosystem":"RubyGems","fixed":["0.3.1"],"introduced":["0.3.0"],"last_affected":[],"package":"resolv","purl":null,"source":"GHSA-xh69-987w-hrp8"},{"ecosystem":"RubyGems","fixed":["0.3.1"],"introduced":["0.3.0"],"last_affected":[],"package":"resolv","purl":"pkg:gem/resolv","source":"GHSA-xh69-987w-hrp8"},{"ecosystem":"RubyGems","fixed":["0.6.2"],"introduced":["0.4.0"],"last_affected":[],"package":"resolv","purl":null,"source":"GHSA-xh69-987w-hrp8"},{"ecosystem":"RubyGems","fixed":["0.6.2"],"introduced":["0.4.0"],"last_affected":[],"package":"resolv","purl":"pkg:gem/resolv","source":"GHSA-xh69-987w-hrp8"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["2.5.9-150000.4.54.1"],"introduced":["0"],"last_affected":[],"package":"ruby2.5","purl":"pkg:rpm/suse/ruby2.5\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:3776-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.5.9-150000.4.54.1"],"introduced":["0"],"last_affected":[],"package":"ruby2.5","purl":"pkg:rpm/opensuse/ruby2.5\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:3776-1"}],"prev":{"headline":"Active Storage allowed transformation methods that were potentially unsafe","id":"CVE-2025-24293"},"products":["resolv"],"published":"2025-07-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-16","vendors":["Ruby"]},"summary":"An attacker can cause a Denial of Service in applications using the Ruby resolv library by sending malicious DNS packets that trigger excessive CPU consumption during name decompression.","url":"https://insights.sbomify.com/CVE-2025-24294/"}