CVE-2024-25581
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| PowerDNS | DNSdist | 1.9.0 | affected |
| PowerDNS | DNSdist | 1.9.1 | affected |
| PowerDNS | DNSdist | 1.9.2 | affected |
| PowerDNS | DNSdist | 1.9.3 | affected |
Weaknesses
- CWE-20: CWE-20 Improper Input Validation
Workarounds
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
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
CVE Program Container
Additional References
- https://dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2024-03.html
- http://www.openwall.com/lists/oss-security/2024/05/13/1
References
- https://dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2024-03.html
- http://www.openwall.com/lists/oss-security/2024/05/13/1
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.