Cloudanix VulnDB

CVE-2024-24198

None

CVSS

—

EPSS

0.5%

Published

Jun 6, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A programming mistake in smartdns can make the program crash or behave unpredictably when it processes certain data.

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

What it actually does

The flaw is a misaligned memory address access in smartdns/src/util.c that produces undefined behavior, crashes, or memory corruption.

Why it matters to the business

DNS resolution services may become unstable or unavailable, interrupting network-dependent operations.

How an attack unfolds

An attacker sends crafted requests that reach the affected utility function, triggering the misaligned access and potentially causing denial of service or further memory manipulation.

How to fix it

Upgrade smartdns to a build that corrects the address alignment issue in src/util.c; recompile from a post-54b4dc commit if source is used.

How to confirm the fix worked

Run the binary under an address sanitizer or memory checker while exercising util.c paths; confirm no alignment warnings appear and review source diff for alignment fixes.

Typical attack path

  1. Locate an exposed smartdns instance
  2. Craft and transmit input that exercises the vulnerable code path in util.c
  3. Trigger the misaligned address access to crash or corrupt process memory

How to detect it

Inspect smartdns process logs and core dumps for segmentation faults or alignment-related errors originating from util.c; correlate with inbound DNS query timestamps.

What your security team should do

  • Prioritize patching smartdns as soon as a corrected build is available
  • Monitor vendor or community channels for the fixing commit
  • Temporarily restrict exposure of smartdns services until updated

The record

smartdns commit 54b4dc was discovered to contain a misaligned address at smartdns/src/util.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