PowerDNS Blog

PowerDNS Security Advisory 2025-04

Written by Otto Moerbeek | Jul 21, 2025 11:57:35 AM

Today we have released PowerDNS Recursor 5.0.12, 5.1.6 and 5.2.4.

These releases fix PowerDNS Security Advisory 2025-04: A Recursor configured to send out ECS enabled queries can be sensitive to spoofing attempts:

PowerDNS Security Advisory 2025-04: A Recursor configured to send out ECS enabled queries can be sensitive to spoofing attempts

CVE: CVE-2025-30192
Date: 21st July 2025
Affects: PowerDNS Recursor up to and including 5.0.10, 5.1.4 and 5.2.2, but only if outgoing ECS is enabled
Not affected: PowerDNS Recursor 5.0.12, 5.1.6 and 5.2.4 (5.0.11, 5.1.5 and 5.2.3 were not released publicly)
Severity: High (only if outgoing ECS is enabled)
Impact: Cache pollution
Exploit: This problem can be triggered by an attacker sending spoofed replies to an ECS enabled Recursor
Risk of system compromise: None
Solution: Upgrade to patched version, disable outgoing ECS (the default is disabled)

An attacker spoofing answers to ECS enabled requests sent out by the Recursor has a chance of success higher than non-ECS enabled queries.
The updated version include various mitigations against spoofing attempts of ECS enabled queries by chaining ECS enabled requests and enforcing stricter validation of the received answers.
The most strict mitigation done when the new setting outgoing.edns_subnet_harden (old style name edns-subnet-harden) is enabled.

CVSS Score: 7.5, see
https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H&version=3.1

The remedy is: upgrade to a patched version or disable outgoing ECS enabled queries, which is the default.

We would like to thanks Xiang Li of AOSP Lab Nankai University for bringing this issue to our attention.

We advise all customers running ECS enabled Recursors to review the configuration and only send out ECS enabled queries to authoritative servers for which it brings a known benefit. Apart from the potential spoofing attack surface mitigated by the patches, enabling ECS also has an effect on caching efficiency. Additionally not all authoritative servers found on the internet do handle ECS enabled queries well.

Please refer to the changelogs  (5.0.12 and 5.1.6 and 5.2.4) for additional details. Versions 5.0.11, 5.1.5 and 5.2.3 were never made available publicity.

Please send us all feedback and issues you might have via the mailing list, or in case of a bug, via GitHub.

The tarballs (5.0.12, 5.1.6, 5.2.4) (with signature files 5.0.12, 5.1.6, 5.2.4) are available from our download server and packages for several distributions are available from our repository.

Recently we made changes to our Open Source End of Life policy. Older release trains are now supported for one year after the following major release. Consult the EOL policy for more details.

We are grateful to the PowerDNS community for the reporting of bugs, issues, feature requests, and especially to the submitters of fixes and implementations of features.