GitHub Advisoryadvisory · Maven
GHSA-mmwx-rj87-vfgr DNSJava affected by KeyTrap - NSEC3 closest encloser proof can exhaust CPU resources
HIGH
Official page ↗
- Ecosystem
- Maven
- Packages
- dnsjava:dnsjava, org.jitsi:dnssecjava
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2024-07-22
Affected packages
• Maven dnsjava:dnsjava: >= 3.5.0, < 3.6.0 → fixed in 3.6.0
• Maven org.jitsi:dnssecjava: <= 2.0.0 (no fix yet)
Description
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
https://www.athene-center.de/en/keytrap
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
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