Home / moby / moby / CVE-2024-29018
CVE-2024-29018: is it exploited, and which versions of moby are affected and fixed?
CVE-2024-29018 is an incorrect resource transfer vulnerability in moby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: github.com/docker/docker from 26.0.0-rc1 before 26.0.0-rc3, github.com/docker/docker from 25.0.0 before 25.0.5 and github.com/docker/docker before 23.0.11 (GitHub advisory GHSA-mq39-4gv4-mvpx). Fixed in 26.0.0-rc3, 25.0.5 and 23.0.11 (GitHub advisory GHSA-mq39-4gv4-mvpx). Severity: Medium (5.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-29018?
External DNS requests from 'internal' networks could lead to data exfiltration
Moby is an open source container framework that is a key component of Docker Engine, Docker Desktop, and other distributions of container tooling or runtimes. Moby's networking implementation allows for many networks, each with their own IP address range and gateway, to be defined. This feature is frequently referred to as custom networks, as each network can have a different driver, set of parameters and thus behaviors. When creating a network, the `--internal` flag is used to designate a network as _internal_. The `internal` attribute in a docker-compose.yml file may also be used to mark a network _internal_, and other API clients may specify the `internal` parameter as well. When containers with networking are created, they are assigned unique network interfaces and IP addresses. The host serves as a router for non-internal networks, with a gateway IP that provides SNAT/DNAT to/from container IPs. Containers on an internal network may communicate between each other, but are precluded from communicating with any networks the host has access to (LAN or WAN) as no default route is configured, and firewall rules are set up to drop all outgoing traffic. Communication with the gateway IP address (and thus appropriately configured host services) is possible, and the host may communicate with any container IP directly. In addition to configuring the Linux kernel's various networking features to enable container networking, `dockerd` directly provides some services to container networks. Principal among these is serving as a resolver, enabling service discovery, and resolution of names from an upstream resolver. When a DNS request for a name that does not correspond to a container is received, the request is forwarded to the configured upstream resolver. This request is made from the container's network namespace: the level of access and routing of traffic is the same as if the request was made by the container itself. As a consequence of this design, containers solely attached to an internal network will be unable to resolve names using the upstream resolver, as the container itself is unable to communicate with that nameserver. Only the names of containers also attached to the internal network are able to be resolved. Many systems run a local forwarding DNS resolver. As the host and any containers have separate loopback devices, a consequence of the design described above is that containers are unable to resolve names from the host's configured resolver, as they cannot reach these addresses on the host loopback device. To bridge this gap, and to allow containers to properly resolve names even when a local forwarding resolver is used on a loopback address, `dockerd` detects this scenario and instead forward DNS requests from the host namework namespace. The loopback resolver then forwards the requests to its configured upstream resolvers, as expected. Because `dockerd` forwards DNS requests to the host loopback device, bypassing the container network namespace's normal routing semantics entirely, internal networks can unexpectedly forward DNS requests to an external nameserver. By registering a domain for which they control the authoritative nameservers, an attacker could arrange for a compromised container to exfiltrate data by encoding it in DNS queries that will eventually be answered by their nameservers. Docker Desktop is not affected, as Docker Desktop always runs an internal resolver on a RFC 1918 address. Moby releases 26.0.0, 25.0.4, and 23.0.11 are patched to prevent forwarding any DNS requests from internal networks. As a workaround, run containers intended to be solely attached to internal networks with a custom upstream address, which will force all upstream DNS queries to be resolved from the container's network namespace.
From the CVE record by GitHub_M, last updated August 13, 2024, 17:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| moby | moby | >= 26.0.0-rc1, < 26.0.0-rc3 >= 25.0.0, < 25.0.5 < 23.0.11 |
As the CVE record by GitHub_M states it, last updated August 13, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/docker/docker | >= 26.0.0-rc1, < 26.0.0-rc3 | 26.0.0-rc3 | GHSA-mq39-4gv4-mvpx |
| Go | github.com/docker/docker | >= 25.0.0, < 25.0.5 | 25.0.5 | GHSA-mq39-4gv4-mvpx |
| Go | github.com/docker/docker | < 23.0.11 | 23.0.11 | GHSA-mq39-4gv4-mvpx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 20, 2024. Summary: Moby's external DNS requests from 'internal' networks could lead to data exfiltration.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mobyproject | moby | before 23.0.11 | application |
| mobyproject | moby | from 24.0.0 before 25.0.5 | application |
| mobyproject | moby | 26.0.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:22 UTC.
How severe is CVE-2024-29018?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-29018 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, March 28, 2024)
- EPSS
- 0.75% probability of exploitation activity in the next 30 days, percentile 56.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-669 Incorrect Resource Transfer Between Spheres
Where are the vendor advisories and references?
- https://github.com/moby/moby/security/advisories/GHSA-mq39-4gv4-mvpx x_refsource_CONFIRM
- https://github.com/moby/moby/pull/46609 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 14, 2024
- Published
- March 20, 2024, 20:27 UTC
- CVE record updated
- August 13, 2024, 17:00 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:22 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect moby?
- Nov 25, 2026CVE-2026-135124 Docker Engine: time-of-check time-of-use race condition
- Nov 10, 2026CVE-2026-115538 Docker Engine: protection mechanism failure
- Nov 10, 2026CVE-2026-115539 moby SwarmKit: unintended Proxy or Intermediary
- Oct 7, 2026CVE-2026-92543 Docker Engine: improper certificate validation
- Jun 12, 2026CVE-2026-42306 moby: UNIX Symbolic Link (Symlink) Following
- Jun 12, 2026CVE-2026-41568 moby: improper Neutralization of Script in an Error Message Web Page
- Mar 31, 2026CVE-2026-33997 moby: off-by-one Error
- Mar 31, 2026CVE-2026-34040 moby: authentication bypass through another path
Questions about CVE-2024-29018
Is CVE-2024-29018 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.75% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of moby are affected by CVE-2024-29018?
github.com/docker/docker from 26.0.0-rc1 before 26.0.0-rc3, github.com/docker/docker from 25.0.0 before 25.0.5 and github.com/docker/docker before 23.0.11, per the GitHub advisory GHSA-mq39-4gv4-mvpx. The tables above give every range the sources list.
Which version fixes CVE-2024-29018?
26.0.0-rc3, 25.0.5 and 23.0.11, per the GitHub advisory GHSA-mq39-4gv4-mvpx. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-29018?
Medium (5.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-29018?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.