Description
When api-config-dir is set to a non-empty value, which is not the case by default, the API in PowerDNS Recursor 4.x up to and including 4.0.6 and 3.x up to and including 3.7.4 allows an authorized user to update the Recursor's ACL by adding and removing netmasks, and to configure forward zones. It was discovered that the new netmask and IP addresses of forwarded zones were not sufficiently validated, allowing an authenticated user to inject new configuration directives into the Recursor's configuration.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PowerDNS | PowerDNS Recursor | 4.x up to and including 4.0.6, 3.x up to and including 3.7.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 | pdns-recursor | 4.0.7-1 | — |
| Debian 13 | pdns-recursor | 4.0.7-1 | — |
| Debian 12 | pdns-recursor | 4.0.7-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | pdns-recursor | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | pdns-recursor | 4.5.5-1.3 | openSUSE-SU-2024:11157-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.23 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.22 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.21 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.20 | pdns-recursor | 4.0.7-r0 | — |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.18 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.17 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.16 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.15 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.14 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.13 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.12 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.11 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.10 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.9 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.8 | pdns-recursor | 4.0.7-r0 | — |
| Alpine v3.7 | pdns-recursor | 4.0.7-r0 | — |
Advisories 1
- openSUSE-SU-2024:11157-1 pdns-recursor-4.5.5-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026