{"id":"GHSA-mmwx-rj87-vfgr","aliases":["GHSA-mmwx-rj87-vfgr"],"related":[],"kind":"vulnerability","state":"published","title":"DNSJava affected by KeyTrap - NSEC3 closest encloser proof can exhaust CPU resources","summary":"### 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","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"}],"published":"2024-07-22T14:46:59.000Z","modified":"2026-09-10T03:50:16.863Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"3.5.0","status":"affected","fixed":"3.6.0"}],"ecosystem":"Maven","package":"dnsjava:dnsjava","purl":"pkg:maven/dnsjava/dnsjava","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.0.0"}],"ecosystem":"Maven","package":"org.jitsi:dnssecjava","purl":"pkg:maven/org.jitsi/dnssecjava","source":"ghsa"}],"references":[{"url":"https://github.com/dnsjava/dnsjava/security/advisories/GHSA-mmwx-rj87-vfgr","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50868","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/dnsjava/dnsjava/commit/711af79be3214f52daa5c846b95766dc0a075116","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-pv4h-p8jr-6cv2","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/dnsjava/dnsjava","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mmwx-rj87-vfgr","url":"https://github.com/advisories/GHSA-mmwx-rj87-vfgr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:16.863Z"}],"updatedAt":"2026-11-25T22:56:28.425Z"}