Cloudanix VulnDB

CVE-2024-24199

None

CVSS

—

EPSS

0.5%

Published

Jun 6, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A programming error in smartdns software handling network data can cause the service to crash or behave unexpectedly when receiving certain requests.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

Misaligned memory address access in DNS packet processing code leads to undefined behavior, crashes, or memory corruption during address handling in dns.c.

Why it matters to the business

DNS resolution services may experience unexpected crashes, degraded performance, or potential remote code execution, disrupting network name services and downstream applications with low but persistent risk due to stable low exploit probability.

How an attack unfolds

An attacker sends crafted DNS queries or responses that trigger the misaligned address calculation in the parsing logic, causing memory access violations that may be leveraged for corruption or denial of service.

How to fix it

Apply the upstream patch correcting the address alignment in src/dns.c and rebuild; monitor for subsequent commits addressing the issue since no fixed release versions are specified.

How to confirm the fix worked

Recompile with alignment checks enabled, run unit tests on dns.c with varied packet inputs, and verify absence of misaligned accesses via static analysis or sanitizers.

Typical attack path

  1. Identify exposed smartdns instances via network scanning
  2. Craft and send malicious DNS packets targeting the dns.c parsing path
  3. Trigger misaligned address dereference to induce crash or corruption
  4. Escalate to code execution or service denial if memory state permits

How to detect it

Review DNS server logs and system crash reports for segmentation faults or alignment-related errors during packet processing; correlate with unusual query patterns from untrusted sources.

What your security team should do

  • Prioritize patching the dns.c alignment bug in all smartdns deployments
  • Monitor EPSS and exploit maturity for any upward trend indicating increased risk
  • Implement network segmentation to limit exposure of DNS services
  • Conduct code review of custom DNS handling logic for similar alignment issues

The record

smartdns commit 54b4dc was discovered to contain a misaligned address at smartdns/src/dns.c.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:22.04:LTS smartdns 0 No fix
Ubuntu:24.04:LTS smartdns 0 No fix
Ubuntu:24.10 smartdns 0 No fix
Ubuntu:Pro:22.04:LTS smartdns 0 35+dfsg-1ubuntu0.1~esm1

Related vulnerabilities