{"id":"GHSA-mmwx-rj87-vfgr","summary":"DNSJava affected by KeyTrap - NSEC3 closest encloser proof can exhaust CPU resources","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.863427753Z","published":"2024-07-22T14:46:59Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-07-22T14:46:59Z","nvd_published_at":null,"cwe_ids":["CWE-400"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/dnsjava/dnsjava/security/advisories/GHSA-mmwx-rj87-vfgr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50868"},{"type":"WEB","url":"https://github.com/dnsjava/dnsjava/commit/711af79be3214f52daa5c846b95766dc0a075116"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pv4h-p8jr-6cv2"},{"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-mmwx-rj87-vfgr/GHSA-mmwx-rj87-vfgr.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-mmwx-rj87-vfgr/GHSA-mmwx-rj87-vfgr.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:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}