{"answers":{"affected":"2 open source packages ship an affected version, including dnsjava:dnsjava.","exploited":"There is no known exploitation of CVE-2024-25638 in the wild and no public exploit code.","fix":"Upgrade dnsjava:dnsjava to 3.6.0 or later.","what":"CVE-2024-25638 is a high-severity vulnerability in dnsjava, published on 22 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-25638 and fix it if it is affected.\n\nWhat it is: CVE-2024-25638 is a high-severity vulnerability in dnsjava, published on 22 Jul 2024. 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-2024-25638 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- dnsjava:dnsjava (Maven): affected all versions; fixed in 3.6.0\n- dnsjava:dnsjava (Maven): affected all versions; fixed in 3.6.0\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-2024-25638/ (Markdown: https://insights.sbomify.com/CVE-2024-25638/index.md)","id":"CVE-2024-25638","markdown":"https://insights.sbomify.com/CVE-2024-25638/index.md","name":"CVE-2024-25638","record":{"aliases":["CLEANSTART-2026-GU42194","CLEANSTART-2026-QE26022","CLSA-2026-1767917313","CLSA-2026-1788349374","DEBIAN-CVE-2024-25638","ECHO-c2b4-cbce-5703","GHSA-cfxw-4h78-h7fw","MINI-4825-hjw4-xgq3","MINI-gxrx-79gp-84cc","MINI-jgx7-ppw7-c4gr","MINI-wpp9-9g9p-g68x","OESA-2024-1899","UBUNTU-CVE-2024-25638"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java DNS library","requires_auth":"none","summary":"Attackers can bypass DNSSEC validation by injecting irrelevant records, compromising DNS integrity in applications using dnsjava.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.9,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"dnsjava is an implementation of DNS in Java. Records in DNS replies are not checked for their relevance to the query, allowing an attacker to respond with RRs from different zones. This vulnerability is fixed in 3.6.0.","ecosystems":["Maven"],"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":"DNSJava DNSSEC Bypass","id":"CVE-2024-25638","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"Prompt Injection triggered XSS vulnerability in Khoj Obsidian, Desktop and Web clients","id":"CVE-2024-25639"},"packages":[{"ecosystem":"Maven","fixed":["3.6.0"],"introduced":["0"],"last_affected":[],"package":"dnsjava:dnsjava","purl":null,"source":"GHSA-cfxw-4h78-h7fw"},{"ecosystem":"Maven","fixed":["3.6.0"],"introduced":["0"],"last_affected":[],"package":"dnsjava:dnsjava","purl":"pkg:maven/dnsjava/dnsjava","source":"GHSA-cfxw-4h78-h7fw"}],"prev":{"headline":"Reflected XSS via X-October-Request-Handler Header","id":"CVE-2024-25637"},"products":["dnsjava"],"published":"2024-07-22","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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-07-24","vendors":["dnsjava"]},"summary":"Attackers can bypass DNSSEC validation by injecting irrelevant records, compromising DNS integrity in applications using dnsjava.","url":"https://insights.sbomify.com/CVE-2024-25638/"}