Hickory-dns
Hickory DNS through 0.26.0-alpha.1 DNSSEC Validation Bypass via Ancestor-Delegation NSEC3
Hickory DNS hickory-proto 0.25 through 0.26.0-alpha.1 and hickory-net 0.26.0-beta.1 before 0.26.2 contain a DNSSEC validation flaw in the validating recursor's NSEC3 handler, which matches the closest encloser by hash alone without checking the type bitmap and so accepts parent-side ancestor-delegation NSEC3 records as proof of nonexistence. An attacker who delivers one response built from genuinely signed parent NSEC3 records can cause NXDOMAIN or NODATA to be cached with AD=1, denying resolution of existing names at and below the zone cut.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.25, <= 0.26.0-alpha.1
- >= 0.26.0-beta.1, < 0.26.2
Fixed in 0.26.2
Mitigation
Upgrade hickory-dns to 0.26.2 or later.
References
- Vendor advisory github.com/hickory-dns/hickory-dns/security/ad…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.