Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1jcmpnLXc1N20tcnFxZs4AA-FL

DNSJava vulnerable to KeyTrap - Denial-of-Service Algorithmic Complexity Attacks

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

Permalink: https://github.com/advisories/GHSA-crjg-w57m-rqqf
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jcmpnLXc1N20tcnFxZs4AA-FL
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 months ago
Updated: 3 days ago


CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Identifiers: GHSA-crjg-w57m-rqqf
References: Repository: https://github.com/dnsjava/dnsjava
Blast Radius: 22.2

Affected Packages

maven:dnsjava:dnsjava
Dependent packages: 335
Dependent repositories: 2,558
Downloads:
Affected Version Ranges: < 3.6.0
Fixed in: 3.6.0
All affected versions: 1.2.3, 1.3.2, 2.0.1, 2.0.6, 2.0.7, 2.0.8, 2.1.0, 2.1.1, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.3.0, 3.3.1, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.5.0, 3.5.1, 3.5.2, 3.5.3
All unaffected versions: 3.6.0, 3.6.1