CVE-2024-25583
High · 7.5CVSS
7.5
EPSS
0.8%
Published
Apr 25, 2024
CISA due date
—
Cloudanix analysis
A misconfigured DNS server can be taken offline by a malicious response from another server it trusts, interrupting name resolution for users and applications.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Network Service
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper validation of responses from upstream servers in recursive forwarding mode allows a crafted packet to trigger a crash or resource exhaustion in the recursor process.
Why it matters to the business
Organizations relying on recursive forwarding experience intermittent or prolonged DNS resolution outages, disrupting dependent services until the recursor is restarted or the upstream source is isolated.
How an attack unfolds
An attacker positions a malicious or compromised upstream server in the forward-recurse chain and sends a specially formatted response that the recursor fails to handle safely, resulting in denial of service.
How to fix it
Disable recursive forwarding if not required, or apply the vendor-supplied update that corrects response validation when it becomes available; monitor upstream sources for unexpected behavior.
How to confirm the fix worked
Review recursor configuration for forward-recurse settings, replay known malformed responses in a test environment, and confirm the process remains stable after applying updates.
Typical attack path
- Identify or compromise an upstream server used by the target recursor's forward-recurse configuration
- Craft and transmit a malformed DNS response that triggers the validation flaw
- Observe recursor crash or resource exhaustion leading to service unavailability
How to detect it
Search recursor logs for unexpected process terminations, malformed response handling errors, or restarts correlated with traffic from configured upstream servers.
What your security team should do
- Audit all recursor deployments for use of forward-recurse and disable where possible
- Prioritize patching once fixed versions are released given the high availability impact
- Implement network segmentation and upstream server allow-listing to reduce exposure
- Enable detailed logging and monitoring for recursor process restarts or crashes
The record
A crafted response from an upstream server the recursor has been configured to forward-recurse to can cause a Denial of Service in the Recursor. The default configuration of the Recursor does not use recursive forwarding and is not affected.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:12 | pdns-recursor | 0 | 4.8.8-1 |
| Debian:13 | pdns-recursor | 0 | 4.9.5-1 |
| SUSE:Package Hub 15 SP5 | pdns-recursor | 0 | 4.8.8-bp155.2.6.1 |
| Ubuntu:20.04:LTS | pdns-recursor | 0 | No fix |
| Ubuntu:22.04:LTS | pdns-recursor | 0 | No fix |
| Ubuntu:24.04:LTS | pdns-recursor | 0 | No fix |
| Ubuntu:24.10 | pdns-recursor | 0 | 4.9.5-1 |
| Ubuntu:Pro:16.04:LTS | pdns-recursor | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | pdns-recursor | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | pdns-recursor | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | pdns-recursor | 0 | No fix |
| openSUSE:Leap 15.5 | pdns-recursor | 0 | 4.8.8-bp155.2.6.1 |
| openSUSE:Tumbleweed | pdns-recursor | 0 | 5.0.4-1.1 |
Related vulnerabilities
- CVE-2024-25590 An attacker can publish a zone containing specific Resource Record Sets. Also affects pdns-recursor
- CVE-2023-50868 The Closest Encloser Proof aspect of the DNS protocol (in RFC 5155 when RFC 9276 guidance… Also affects pdns-recursor
- CVE-2015-5470 The label decompression functionality in PowerDNS Recursor before 3.6.4 and 3.7.x before… Also affects pdns-recursor
- CVE-2015-1868 The label decompression functionality in PowerDNS Recursor 3.5.x, 3.6.x before 3.6.3, and… Also affects pdns-recursor
- CVE-2014-8601 PowerDNS Recursor before 3.6.2 does not limit delegation chaining, which allows remote… Also affects pdns-recursor
- CVE-2009-4009 Buffer overflow in PowerDNS Recursor before 3.1.7.2 allows remote attackers to cause a… Also affects pdns-recursor
- CVE-2009-4010 Unspecified vulnerability in PowerDNS Recursor before 3.1.7.2 allows remote attackers to… Also affects pdns-recursor
- CVE-2026-113786 pypdf is a free and open-source pure-python PDF library. CWE-20