CVE-2024-29018
cAdvisor vulnerability analysis and mitigation

Overview

Moby, an open source container framework that is a key component of Docker Engine and Docker Desktop, was found to have a vulnerability (CVE-2024-29018) related to DNS request forwarding. The vulnerability was discovered in March 2024 and affects Moby versions prior to 26.0.0-rc3, 25.0.5, and 23.0.11. The issue exists in Moby's networking implementation, specifically in how it handles DNS requests from internal networks (GitHub Advisory).

Technical details

The vulnerability stems from Moby's networking implementation that allows creation of internal networks using the --internal flag or the internal attribute in docker-compose.yml. While containers on internal networks are supposed to be isolated from external communications, dockerd forwards DNS requests from the host network namespace when a local forwarding resolver is used on a loopback address. This bypasses the container network namespace's normal routing semantics, allowing internal networks to unexpectedly forward DNS requests to external nameservers (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 base score of 5.9 (Medium) with vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

An attacker could potentially exploit this vulnerability to exfiltrate data from compromised containers by encoding information in DNS queries to controlled nameservers. This is possible even when containers are supposed to be isolated on internal networks. The attacker would need to register a domain with controlled authoritative nameservers to receive the encoded data (GitHub Advisory).

Exploitability

The vulnerability requires an attacker to have control over authoritative nameservers for a registered domain and access to a compromised container. Docker Desktop is not affected by this vulnerability as it always runs an internal resolver on a RFC 1918 address (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in Moby releases 26.0.0-rc3, 25.0.5, and 23.0.11. As a workaround, administrators can run containers intended to be solely attached to internal networks with a custom upstream address (using the --dns argument to docker run or API equivalent). This forces all upstream DNS queries to be resolved from the container network namespace (GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

docker.io

Affected

bullseye

docker.io

Affected

sid

docker.io: 26.1.4+dfsg1-9

Fixed

trixie

docker.io: 26.1.4+dfsg1-9

Fixed

SourceThis report was generated using AI

Related cAdvisor vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-84304HIGH8.7
  • cAdvisor logocAdvisor
  • cluster-api-azure-controller-1.24
NoYesSep 01, 2026
CVE-2026-56865HIGH8.4
  • Go logoGo
  • buildah
NoYesAug 13, 2026
CVE-2026-56864HIGH7.5
  • Go logoGo
  • metallb-controller-fips
NoYesAug 13, 2026
CVE-2026-56862HIGH7.5
  • Go logoGo
  • knative-kafka-broker-post-install-1.23
NoYesAug 13, 2026
CVE-2026-84445HIGHN/A
  • cAdvisor logocAdvisor
  • kube-vip-fips
NoYesSep 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management