{"id":"CVE-2024-25638","published":"2024-07-22T14:05:29Z","modified":"2025-07-24T03:55:26Z","title":"DNSJava DNSSEC Bypass","vendor":"dnsjava","product":"dnsjava","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00392,"percentile":0.34158,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"}],"references":[{"url":"https://github.com/dnsjava/dnsjava/security/advisories/GHSA-cfxw-4h78-h7fw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dnsjava/dnsjava/commit/2073a0cdea2c560465f7ac0cc56f202e6fc39705","tags":["x_refsource_MISC"]},{"url":"https://github.com/dnsjava/dnsjava/commit/bc51df1c455e6c9fb7cbd42fcb6d62d16047818d","tags":["x_refsource_MISC","x_transferred"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":6.83},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"dnsjava","affectedVersions":[{"vendor":"dnsjava","product":"dnsjava","versions":["< 3.6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-23T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"dnsjava:dnsjava","vulnerableRanges":["<3.6.0"],"patched":["3.6.0"],"from":["GHSA-cfxw-4h78-h7fw"],"provenance":"source"}],"summary":{"text":"The dnsjava library (the dnsjava Java implementation of DNS) fails to check whether records in DNS replies are relevant to the query they answer, so responses can include resource records from unrelated zones. An attacker with network access and no privileges, who can induce or intercept DNS responses (a high-complexity condition), can inject such out-of-zone records that the library accepts as valid, bypassing DNSSEC validation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:54Z"},"euvd":{"id":"EUVD-2024-2321","exploited":false,"provenance":"source"}}