{"id":"GHSA-crjg-w57m-rqqf","summary":"DNSJava vulnerable to KeyTrap - Denial-of-Service Algorithmic Complexity Attacks","details":"### Impact\nUsers using the `ValidatingResolver` for DNSSEC validation can run into CPU exhaustion with specially crafted DNSSEC-signed zones.\n\n### Patches\nUsers should upgrade to dnsjava v3.6.0\n\n### Workarounds\nAlthough not recommended, only using a non-validating resolver, will remove the vulnerability. \n\n### References\nhttps://www.athene-center.de/en/keytrap\n","modified":"2026-09-10T03:50:16.712962161Z","published":"2024-07-22T17:30:19Z","database_specific":{"cwe_ids":["CWE-770"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-07-22T17:30:19Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/dnsjava/dnsjava/security/advisories/GHSA-crjg-w57m-rqqf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50387"},{"type":"WEB","url":"https://github.com/dnsjava/dnsjava/commit/07ac36a11578cc1bce0cd8ddf2fe568f062aee78"},{"type":"WEB","url":"https://github.com/dnsjava/dnsjava/commit/3ddc45ce8cdb5c2274e10b7401416f497694e1cf"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8459-gg55-8qjj"},{"type":"PACKAGE","url":"https://github.com/dnsjava/dnsjava"}],"affected":[{"package":{"name":"dnsjava:dnsjava","ecosystem":"Maven","purl":"pkg:maven/dnsjava/dnsjava"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0"},{"fixed":"3.6.0"}]}],"versions":["3.5.0","3.5.1","3.5.2","3.5.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-crjg-w57m-rqqf/GHSA-crjg-w57m-rqqf.json"}},{"package":{"name":"org.jitsi:dnssecjava","ecosystem":"Maven","purl":"pkg:maven/org.jitsi/dnssecjava"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.0.0"}]}],"versions":["1.0","1.1","1.1.1","1.1.2","1.1.3","1.2.0","2.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-crjg-w57m-rqqf/GHSA-crjg-w57m-rqqf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}