{"id":"GHSA-crjg-w57m-rqqf","aliases":["GHSA-crjg-w57m-rqqf"],"related":[],"kind":"vulnerability","state":"published","title":"DNSJava vulnerable to KeyTrap - Denial-of-Service Algorithmic Complexity Attacks","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-22T17:30:19.000Z","modified":"2026-09-10T03:50:16.712Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","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:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-770"],"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-crjg-w57m-rqqf","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50387","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/dnsjava/dnsjava/commit/07ac36a11578cc1bce0cd8ddf2fe568f062aee78","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/dnsjava/dnsjava/commit/3ddc45ce8cdb5c2274e10b7401416f497694e1cf","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8459-gg55-8qjj","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/dnsjava/dnsjava","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-crjg-w57m-rqqf","url":"https://github.com/advisories/GHSA-crjg-w57m-rqqf","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:16.712Z"}],"updatedAt":"2026-11-25T22:56:27.671Z"}