GitHub Advisoryadvisory · Maven
GHSA-crjg-w57m-rqqf DNSJava vulnerable to KeyTrap - Denial-of-Service Algorithmic Complexity Attacks
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-770
- 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-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://github.com/dnsjava/dnsjava/security/advisories/GHSA-crjg-w57m-rqqf web
- https://nvd.nist.gov/vuln/detail/CVE-2023-50387 advisory
- https://github.com/dnsjava/dnsjava/commit/07ac36a11578cc1bce0cd8ddf2fe568f062aee78 web
- https://github.com/dnsjava/dnsjava/commit/3ddc45ce8cdb5c2274e10b7401416f497694e1cf web
- https://github.com/advisories/GHSA-8459-gg55-8qjj advisory
- https://github.com/dnsjava/dnsjava package