Cloudanix VulnDB

CVE-2024-25583

High · 7.5

CVSS

7.5

EPSS

0.8%

Published

Apr 25, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

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

  1. Identify or compromise an upstream server used by the target recursor's forward-recurse configuration
  2. Craft and transmit a malformed DNS response that triggers the validation flaw
  3. 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