Description
When DNS over HTTPS is enabled and configured to trust incoming X-Forwarded-For headers, and the reverse proxy placed in front of DNSdist does not replace existing X-Forwarded-For headers but merely append a new header to the query, the first header was used by DNSdist instead of the last one, making it possible for a client to spoof its own IP address.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PowerDNS | DNSdist | 2.1.0 – < 2.1.4, 2.0.0 – < 2.0.12 | 2.1.4 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dnsdist | No fix yet | — |
| Debian 13 | dnsdist | 2.1.4-1~deb13u1 | DSA-6664-1 |
| Debian 12 | dnsdist | No fix yet | — |
Advisories 1
- DSA-6664-1 dnsdist - security update Debian Security (DSA / DLA) · Nov 27, 2026