The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-29018

CVE-2024-29018: Moby Information Disclosure Vulnerability

CVE-2024-29018 is an information disclosure vulnerability in Mobyproject Moby that allows DNS-based data exfiltration from internal networks. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-29018 Overview

CVE-2024-29018 is a DNS vulnerability affecting Moby, the open source container framework that serves as a key component of Docker Engine, Docker Desktop, and other container tooling distributions. The vulnerability exists in Moby's networking implementation when handling DNS requests from containers attached to internal networks, potentially allowing attackers to exfiltrate data through DNS queries.

When creating Docker networks with the --internal flag or the internal attribute in docker-compose.yml files, containers are expected to be isolated from external networks. However, due to a design flaw in how dockerd handles DNS requests when a local forwarding resolver is detected on the host's loopback device, DNS requests from internal networks can unexpectedly be forwarded to external nameservers, bypassing the intended network isolation.

Critical Impact

Compromised containers on internal networks can exfiltrate sensitive data by encoding it in DNS queries to attacker-controlled nameservers, completely bypassing the network isolation guarantees that internal networks are designed to provide.

Affected Products

  • Moby versions prior to 23.0.11
  • Moby versions 24.0.0 through 25.0.3
  • Moby versions 26.0.0-rc1, 26.0.0-rc2, and 26.0.0-rc3

Discovery Timeline

  • 2024-03-20 - CVE-2024-29018 published to NVD
  • 2025-04-09 - Last updated in NVD database

Technical Details for CVE-2024-29018

Vulnerability Analysis

This vulnerability represents a DNS-based data exfiltration weakness (CWE-669: Incorrect Resource Transfer Between Spheres) in Moby's container networking architecture. The issue stems from how dockerd handles DNS resolution for containers when the host system uses a local forwarding DNS resolver on a loopback address.

Under normal operation, containers on internal networks should be unable to communicate with external networks, as no default route is configured and firewall rules drop all outgoing traffic. However, dockerd provides DNS services directly to container networks, acting as a resolver for service discovery and upstream name resolution.

When dockerd detects that the host's configured DNS resolver is on a loopback address (a common configuration for local forwarding resolvers), it bridges the gap by forwarding DNS requests from the host network namespace instead of the container's namespace. This design decision, intended to ensure containers can properly resolve names, inadvertently breaks the isolation guarantees of internal networks.

Root Cause

The root cause is the DNS forwarding mechanism in dockerd that bypasses the container network namespace's routing semantics when a loopback resolver is detected on the host. When forwarding DNS requests from internal network containers, dockerd incorrectly forwards these requests through the host namespace rather than respecting the internal network's isolation boundaries. This allows DNS traffic to escape the internal network through the host's resolver infrastructure.

Attack Vector

An attacker who has compromised a container on an internal network can exploit this vulnerability to exfiltrate data to external systems. The attack leverages DNS as a covert channel:

  1. The attacker registers a domain and controls its authoritative nameservers
  2. The compromised container encodes sensitive data into DNS query labels (e.g., sensitive-data-here.attacker-domain.com)
  3. Due to the vulnerability, these DNS queries are forwarded to the host's loopback resolver
  4. The local resolver forwards the queries to upstream DNS servers
  5. Eventually, the queries reach the attacker's authoritative nameserver, where the encoded data can be extracted

This attack bypasses the intended network isolation because DNS traffic is handled specially by dockerd and does not follow the normal routing rules that block container-to-external communication on internal networks.

Detection Methods for CVE-2024-29018

Indicators of Compromise

  • Unusual DNS query patterns from containers designated as internal-network-only
  • DNS queries containing base64-encoded or hex-encoded strings in subdomain labels
  • High volume of DNS queries to newly registered or suspicious domains from internal network containers
  • DNS traffic originating from the host namespace on behalf of containers that should have no external network access

Detection Strategies

  • Monitor DNS query logs for requests originating from containers attached to internal networks
  • Implement DNS query inspection to detect data exfiltration patterns such as unusually long subdomain labels or high entropy in query names
  • Deploy network monitoring to detect any unexpected outbound traffic from systems running internal Docker networks
  • Audit container network configurations to identify containers on internal networks that may be vulnerable

Monitoring Recommendations

  • Enable detailed DNS logging on the host's local resolver to track queries from dockerd
  • Implement DNS analytics to baseline normal query patterns and alert on anomalies
  • Use container runtime security tools to monitor network activity from containers on internal networks
  • Consider deploying a DNS firewall or response policy zone (RPZ) to block queries to known malicious domains

How to Mitigate CVE-2024-29018

Immediate Actions Required

  • Upgrade Moby to version 26.0.0, 25.0.4, or 23.0.11 or later immediately
  • Review all internal network configurations and identify containers that rely on internal network isolation for security
  • Implement the workaround for containers that cannot be immediately updated
  • Audit existing containers on internal networks for signs of compromise

Patch Information

The Moby project has released patched versions that prevent forwarding any DNS requests from internal networks. The fix is available in the following versions:

  • Moby 26.0.0 (stable release)
  • Moby 25.0.4
  • Moby 23.0.11

For detailed patch information, refer to the GitHub Pull Request #46609 and the GitHub Security Advisory GHSA-mq39-4gv4-mvpx.

Note: Docker Desktop is not affected by this vulnerability, as it always runs an internal resolver on an RFC 1918 address rather than relying on the host's loopback resolver.

Workarounds

  • Run containers intended for internal networks with a custom upstream DNS address using the --dns flag
  • Specify a non-loopback DNS server that forces all upstream DNS queries to be resolved from the container's network namespace
  • Consider implementing network policies or firewall rules at the host level to block unexpected DNS traffic
  • Deploy DNS monitoring and filtering solutions to detect and block data exfiltration attempts
bash
# Workaround: Run container with custom DNS to force resolution from container namespace
docker run --network internal_network --dns 8.8.8.8 your-container-image

# Alternative: Configure in docker-compose.yml
# services:
#   your-service:
#     networks:
#       - internal_network
#     dns:
#       - 8.8.8.8

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechMoby

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.22%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-669
  • Technical References
  • GitHub Pull Request
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2023-28841: Moby Information Disclosure Vulnerability

  • CVE-2026-34040: Moby Authorization Bypass Vulnerability

  • CVE-2026-33997: Moby Privilege Escalation Vulnerability

  • CVE-2024-24557: Moby Cache Poisoning Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English