CVE-2024-25581

Transfer requests received over DoH can lead to a denial of service in DNSdist

Published May 13, 2024 CVSS 3.1 · 7.5 High EPSS 1.1% KEV · Not listed
Description
When incoming DNS over HTTPS support is enabled using the nghttp2 provider, and queries are routed to a tcp-only or DNS over TLS backend, an attacker can trigger an assertion failure in DNSdist by sending a request for a zone transfer (AXFR or IXFR) over DNS over HTTPS, causing the process to stop and thus leading to a Denial of Service. DNS over HTTPS is not enabled by default, and backends are using plain DNS (Do53) by default.

Remediation

Vendor Workaround

Option 1: refuse incoming XFR requests via a DNSdist rule: addAction(OrRule({QTypeRule(DNSQType.AXFR), QTypeRule(DNSQType.IXFR)}), RCodeAction(DNSRCode.REFUSED)). Option 2: switch to the legacy h2o provider by setting library='h2o' in the addDOHLocal directive

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-22909 When incoming DNS over HTTPS support is enabled using the nghttp2 provider, and queries are routed to a tcp-only or DNS over TLS backend, an attacker can trigger an assertion failure in DNSdist by sending a request for a zone transfer (AXFR or IXFR) over DNS over HTTPS, causing the process to stop and thus leading to a Denial of Service. DNS over HTTPS is not enabled by default, and backends are using plain DNS (Do53) by default.
History
Type Values Removed Values Added
First Time appeared Powerdns
Powerdns dnsdist
CPEs cpe:2.3:a:powerdns:dnsdist:1.9.0:*:*:*:*:*:*:*
cpe:2.3:a:powerdns:dnsdist:1.9.1:*:*:*:*:*:*:*
cpe:2.3:a:powerdns:dnsdist:1.9.2:*:*:*:*:*:*:*
cpe:2.3:a:powerdns:dnsdist:1.9.3:*:*:*:*:*:*:*
Vendors & Products Powerdns
Powerdns dnsdist
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description When incoming DNS over HTTPS support is enabled using the nghttp2 provider, and queries are routed to a tcp-only or DNS over TLS backend, an attacker can trigger an assertion failure in DNSdist by sending a request for a zone transfer (AXFR or IXFR) over DNS over HTTPS, causing the process to stop and thus leading to a Denial of Service. DNS over HTTPS is not enabled by default, and backends are using plain DNS (Do53) by default. When incoming DNS over HTTPS support is enabled using the nghttp2 provider, and queries are routed to a tcp-only or DNS over TLS backend, an attacker can trigger an assertion failure in DNSdist by sending a request for a zone transfer (AXFR or IXFR) over DNS over HTTPS, causing the process to stop and thus leading to a Denial of Service. DNS over HTTPS is not enabled by default, and backends are using plain DNS (Do53) by default.
Weaknesses

Sources

Status
PUBLISHED
Assigner
OX
Published
Updated
Feb 13, 2025, 5:40 PM
Reserved
Feb 8, 2024, 8:15 AM
Status
Deferred
Published
May 14, 2024, 3:05 PM
Modified
Jun 17, 2026, 7:16 AM