What’s Vulnerable › Vulnerabilities

GHSA-6w6g-hm98-mhgm: hickory-resolver: Unbounded TC-retry loop in `NameServerPool::try_send` (resource-exhaustion DoS)

Description

When the `hickory-resolver` name server pool implementation receives an upstream response with the TC (truncated) header bit set, it re-queues the request to the same nameserver to retry with UDP transport disabled. However, the retry arm never inspects the transport that just answered and carries no iteration counter. An authoritative server that sets `TC=1` on **every** available transport keeps the resolver spinning on one persistent TCP connection until the 5s per-request wall-clock deadline expires. ### Reporter Qifan Zhang, Palo Alto Networks

Affected products

How to fix

Upgrade to a fixed version: Crates.Io Hickory-Resolver 0.26.2. Check the vendor advisory for mitigations.

References

Get alerted when GHSA-6w6g-hm98-mhgm or the next vulnerability affects your stack