{"id":"GHSA-mmwx-rj87-vfgr","aliases":[],"status":"published","title":"DNSJava affected by KeyTrap - NSEC3 closest encloser proof can exhaust CPU resources","description":"### 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","severity":{"version":"4.0","score":7.1,"vector":"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","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2024-07-22T14:46:59Z","modified":"2026-09-10T03:50:16Z","fixes":[{"ecosystem":"Maven","package":"dnsjava:dnsjava","fixed_in":["3.6.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"dnsjava:dnsjava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0"},{"fixed":"3.6.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.jitsi:dnssecjava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.0.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"references":[{"url":"https://github.com/dnsjava/dnsjava/security/advisories/GHSA-mmwx-rj87-vfgr","tags":["web"]},{"url":"https://github.com/dnsjava/dnsjava/commit/711af79be3214f52daa5c846b95766dc0a075116","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50868","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pv4h-p8jr-6cv2","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mmwx-rj87-vfgr"},{"url":"https://github.com/dnsjava/dnsjava","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-mmwx-rj87-vfgr","title":"DNSJava affected by KeyTrap - NSEC3 closest encloser proof can exhaust CPU resources","description":"### 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","status":"published","published":"2024-07-22T14:46:59Z","modified":"2024-11-18T16:26:55Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:38:20.012356Z"}],"osv":[{"id":"GHSA-mmwx-rj87-vfgr","title":"DNSJava affected by KeyTrap - NSEC3 closest encloser proof can exhaust CPU resources","description":"### 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","status":"published","published":"2024-07-22T14:46:59Z","modified":"2026-09-10T03:50:16.863427753Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:52.170928Z"}]}}
