GHSA-mmwx-rj87-vfgr
MEDIUM 6.5CVSS 3.1DNSJava affected by KeyTrap - NSEC3 closest encloser proof can exhaust CPU resources
Impact
Users using the ValidatingResolver for DNSSEC validation can run into CPU exhaustion with specially crafted DNSSEC-signed zones.
Patches
Users should upgrade to dnsjava v3.6.0
Workarounds
Although not recommended, only using a non-validating resolver, will remove the vulnerability.
References
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | dnsjava:dnsjava | >= 3.5.0, < 3.6.0 | 3.6.0 |
| OSV | Maven | org.jitsi:dnssecjava | <= 2.0.0 |
References
- https://github.com/dnsjava/dnsjava/security/advisories/GHSA-mmwx-rj87-vfgr · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-50868 · ADVISORY
- https://github.com/dnsjava/dnsjava/commit/711af79be3214f52daa5c846b95766dc0a075116 · WEB
- https://github.com/advisories/GHSA-pv4h-p8jr-6cv2 · ADVISORY
- https://github.com/dnsjava/dnsjava · PACKAGE
History
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Jul 2024)