Hickory-dns
Hickory DNS from 0.18 before 0.26.2 Memory Amplification DoS via RR Counts
The DNS wire-format message parser in hickory-proto (Hickory DNS) 0.18 before 0.26.2 preallocates record vectors sized by the untrusted ANCOUNT, NSCOUNT, and ARCOUNT header fields before reading record data. Remote attackers can send a UDP datagram, or a spoofed response to a client/resolver, with these counts set to 65535, forcing about 18MB of allocation per message.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-400
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
hickory-dns hickory-dns
- >= 0.18, < 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.