☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2024-24198

CVE-2024-24198 Information Disclosure in Smartdns
📅 PUBLISHED: 2024-06-06 21:26 UTC 🔄 UPDATED: 2026-08-12 09:01 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.13%
👁️
0.13% probability
3.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-24198 is a security advisory affecting the SmartDNS project, specifically in commit 54b4dc. The vulnerability is described as a misaligned address issue discovered in the file smartdns/src/util.c. This type of flaw typically arises from improper memory alignment, which can lead to undefined behavior, crashes, or potentially exploitable conditions such as information disclosure or denial of service. The CVSS score is 0.0, indicating that no official CVSS vector has been assigned, and the EPSS score is 0.0%, suggesting no active exploitation in the wild. No public proof-of-concept (PoC) code, exploit database entries, or patch details are currently available. The vendor status is unknown, and no official patch has been released.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (Unassigned)
  • CVSS Vector: UNKNOWN
  • Attack Vector (AV): UNKNOWN
  • Attack Complexity (AC): UNKNOWN
  • Privileges Required (PR): UNKNOWN
  • User Interaction (UI): UNKNOWN
  • Scope (S): UNKNOWN
  • Confidentiality (C): UNKNOWN
  • Integrity (I): UNKNOWN
  • Availability (A): UNKNOWN
  • EPSS Score: 0.0% (Very low probability of exploitation)
  • Threat Level: Low (based on lack of exploitation and public PoC)

Deep Dive & Mechanics

The vulnerability is located in the smartdns/src/util.c file at commit 54b4dc. A misaligned address occurs when a pointer or memory access is not aligned to the natural boundary required by the data type (e.g., a 4-byte integer accessed at an odd address). In C/C++, this can cause undefined behavior, including:

  • SIGBUS (Bus error) on architectures that require strict alignment (e.g., ARM, SPARC).
  • Performance degradation on x86 (which handles misalignment in hardware but with a penalty).
  • Potential security implications if the misalignment leads to reading or writing unintended memory regions, possibly leaking sensitive data or corrupting adjacent structures.

The specific code path in util.c likely involves pointer arithmetic or casting that results in an unaligned access. Without a patch or detailed analysis, the exact impact is speculative, but it could be triggered by crafted DNS queries or configuration inputs.

Vulnerable vs. Patched Code

No patched version is available. The vulnerable code resides in smartdns/src/util.c at commit 54b4dc. A hypothetical fix would involve ensuring proper alignment, for example by using memcpy to safely copy unaligned data or by aligning buffers.

Vulnerable (hypothetical):

// Vulnerable: Direct dereference of potentially unaligned pointer
uint32_t value = *(uint32_t*)(buffer + offset);

Patched (hypothetical):

// Patched: Safe copy using memcpy
uint32_t value;
memcpy(&value, buffer + offset, sizeof(value));

Exploitation & Lab Setup

Red Team

No public exploit code is available. To test this vulnerability in a lab environment:

  1. Setup: Deploy SmartDNS from commit 54b4dc on a Linux system (preferably ARM or x86 with alignment checking enabled).
  2. Trigger: Send crafted DNS packets or configuration that forces execution of the vulnerable code path in util.c.
  3. Observation: Monitor for crashes (SIGBUS) or abnormal behavior. Use tools like valgrind or AddressSanitizer to detect misaligned accesses.

Blue Team

  • Detection: Monitor for crashes in SmartDNS processes. Enable alignment checking on x86 (echo 2 > /proc/cpu/alignment) to force SIGBUS on misaligned access.
  • Mitigation: If possible, apply a memory-safe wrapper around the vulnerable function. Use compiler flags like -Wcast-align to warn about potential misalignment.
  • Workaround: Restrict network access to the SmartDNS service to trusted hosts only.

Indicators of Compromise (IOCs)

  • File: smartdns/src/util.c (commit 54b4dc)
  • Logs: Repeated SmartDNS crashes with SIGBUS or segmentation faults.
  • Network: Unusual DNS queries that may trigger the vulnerable code path.
  • Memory: Misaligned pointer values in core dumps.

Detection Engineering

YARA Rule

rule CVE_2024_24198_SmartDNS_Misaligned_Address {
    meta:
        description = "Detects SmartDNS binary compiled from vulnerable commit 54b4dc"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2024-24198"
    strings:
        $vuln_func = "util.c" ascii wide nocase
        $vuln_commit = "54b4dc" ascii wide nocase
    condition:
        $vuln_func and $vuln_commit
}

Sigma Rule

title: SmartDNS Misaligned Address Crash
id: 3a4b5c6d-7e8f-9a0b-1c2d-3e4f5a6b7c8d
status: experimental
description: Detects SmartDNS process crashes due to misaligned address (CVE-2024-24198)
author: Valters IT
date: 2025-04-10
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|endswith: '/smartdns'
        CommandLine|contains: 'util.c'
    condition: selection
falsepositives:
    - Unknown
level: medium

Suricata Rule

alert dns any any -> any any (msg:"CVE-2024-24198 SmartDNS Misaligned Address Attempt"; flow:to_server; content:"|00 00 00 00|"; depth:4; offset:0; classtype:attempted-dos; sid:1000001; rev:1;)

Remediation & Mitigation

  • Immediate: If possible, avoid using SmartDNS commit 54b4dc. Roll back to a previous stable version.
  • Long-term: Monitor the SmartDNS repository for an official patch. Apply it as soon as it becomes available.
  • Compensating Controls: Run SmartDNS in a sandboxed environment with limited privileges. Use memory protection mechanisms like ASLR and NX.
  • Monitoring: Enable detailed logging and alert on SmartDNS crashes.

Valters IT signature

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-24198/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.