{"answers":{"affected":"2 open source packages ship an affected version, including hickory-proto.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25188 exists.","fix":"Upgrade hickory-proto to 0.24.3 or later.","what":"CVE-2025-25188 is a medium-severity vulnerability in hickory-dns, published on 10 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-25188 and fix it if it is affected.\n\nWhat it is: CVE-2025-25188 is a medium-severity vulnerability in hickory-dns, published on 10 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25188 exists.\n\nAffected packages and fixed versions:\n- hickory-proto (crates.io): affected from 0.8.0; fixed in 0.24.3\n- hickory-proto (crates.io): affected from 0.8.0; fixed in 0.24.3\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-25188/ (Markdown: https://insights.sbomify.com/CVE-2025-25188/index.md)","id":"CVE-2025-25188","markdown":"https://insights.sbomify.com/CVE-2025-25188/index.md","name":"CVE-2025-25188","record":{"aliases":["CLEANSTART-2025-IN27647","DEBIAN-CVE-2025-25188","GHSA-37wc-h8xc-5hc4","UBUNTU-CVE-2025-25188"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Rust DNS library","requires_auth":"low_privilege","summary":"Attackers can bypass DNSSEC validation in Hickory DNS by exploiting trust anchor handling, allowing spoofed DNS responses to be accepted as authentic.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"Hickory DNS is a Rust based DNS client, server, and resolver. A vulnerability present starting in version 0.8.0 and prior to versions 0.24.3 and 0.25.0-alpha.5 impacts Hickory DNS users relying on DNSSEC verification in the client library, stub resolver, or recursive resolver. The DNSSEC validation routines treat entire RRsets of DNSKEY records as trusted once they have established trust in only one of the DNSKEYs. As a result, if a zone includes a DNSKEY with a public key that matches a configured trust anchor, all keys in that zone will be trusted to authenticate other records in the zone. There is a second variant of this vulnerability involving DS records, where an authenticated DS record covering one DNSKEY leads to trust in signatures made by an unrelated DNSKEY in the same zone. Versions 0.24.3 and 0.25.0-alpha.5 fix the issue.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"DNSSEC validation may accept broken authentication chains","id":"CVE-2025-25188","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"[XBOW-025-031] Reflected Cross-Site Scripting via jobid Parameter in ZOO-Project WPS publish.py CGI Script","id":"CVE-2025-25189"},"packages":[{"ecosystem":"crates.io","fixed":["0.24.3"],"introduced":["0.8.0"],"last_affected":[],"package":"hickory-proto","purl":null,"source":"GHSA-37wc-h8xc-5hc4"},{"ecosystem":"crates.io","fixed":["0.24.3"],"introduced":["0.8.0"],"last_affected":[],"package":"hickory-proto","purl":"pkg:cargo/hickory-proto","source":"GHSA-37wc-h8xc-5hc4"}],"prev":{"headline":"Cross-site Scripting in Goto Anything allows arbitrary code execution in Joplin","id":"CVE-2025-25187"},"products":["hickory-dns"],"published":"2025-02-10","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-12","vendors":["hickory-dns"]},"summary":"Attackers can bypass DNSSEC validation in Hickory DNS by exploiting trust anchor handling, allowing spoofed DNS responses to be accepted as authentic.","url":"https://insights.sbomify.com/CVE-2025-25188/"}