Hickory DNS recursor stale delegation persistence in NS caching
hickory-dns
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| hickory-dns hickory-dns |
| No fix yet |
| hickory-dns hickory-dns |
|
|
Original description
The Hickory DNS recursor in all versions of hickory-recursor and in hickory-resolver 0.26.0-beta.1 before 0.26.2 (recursor feature) is vulnerable to ghost domain names attacks because it reuses child-side apex NS RRsets cached from zone NS queries for iterative resolution. By repeatedly querying a zone's NS records, an attacker keeps the stale RRset cached indefinitely, letting name servers whose delegation the parent revoked keep answering for the zone.