Skip to content
Noroxi
CVE-2024-29018· NVD / CVE Program· CNA GitHub_M

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.

HighCVSS 7.5 · v3.1—No exploit Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Mar 20, 2024
Updated
Jun 17, 2026
EPSS
0.8% · 53th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

30

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.8%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.5
CNA · GitHub_M
5.9
1.6 point gap

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
mobyprojectmoby

Using moby? Add it to your stack and be the first to know about CVEs like this one. (Docker)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • mobyproject mobybefore 23.0.11
  • mobyproject moby24.0.0 and later · before 25.0.5
  • mobyproject moby26.0.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • moby moby

    • >= 26.0.0-rc1, < 26.0.0-rc3, >= 25.0.0, < 25.0.5, < 23.0.11affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12docker.ioall versions—
Debian:13docker.iobefore 26.1.4+dfsg1-926.1.4+dfsg1-9
Gogithub.com/docker/dockerfrom 25.0.0 · before 25.0.525.0.5
Gogithub.com/docker/dockerfrom 25.0.0+incompatible · before 25.0.5+incompatible25.0.5+incompatible
Gogithub.com/docker/dockerfrom 26.0.0-rc1 · before 26.0.0-rc326.0.0-rc3
Gogithub.com/docker/dockerfrom 26.0.0-rc1+incompatible · before 26.0.0-rc3+incompatible26.0.0-rc3+incompatible
Gogithub.com/docker/dockerbefore 23.0.1123.0.11
openSUSE:Tumbleweeddockerbefore 27.4.1_ce-12.127.4.1_ce-12.1
openSUSE:Tumbleweeddocker-stablebefore 24.0.9_ce-6.124.0.9_ce-6.1
SUSE:Linux Enterprise Micro 5.3dockerbefore 27.5.1_ce-150000.218.127.5.1_ce-150000.218.1
SUSE:Linux Enterprise Micro 5.3dockerbefore 27.5.1_ce-150000.218.127.5.1_ce-150000.218.1
SUSE:Linux Enterprise Micro 5.3dockerbefore 27.5.1_ce-150000.215.327.5.1_ce-150000.215.3
SUSE:Linux Enterprise Micro 5.3dockerbefore 27.5.1_ce-150000.215.327.5.1_ce-150000.215.3
SUSE:Linux Enterprise Module for Containers 15 SP6docker-stablebefore 24.0.9_ce-150000.1.15.124.0.9_ce-150000.1.15.1
SUSE:Linux Enterprise Module for Containers 15 SP6docker-stablebefore 24.0.9_ce-150000.1.11.124.0.9_ce-150000.1.11.1
SUSE:Linux Enterprise Module for Containers 15 SP6docker-stablebefore 24.0.9_ce-150000.1.15.124.0.9_ce-150000.1.15.1
SUSE:Linux Enterprise Module for Containers 15 SP6docker-stablebefore 24.0.9_ce-150000.1.11.124.0.9_ce-150000.1.11.1
SUSE:Linux Enterprise Module for Containers 15 SP7docker-stablebefore 24.0.9_ce-150000.1.39.124.0.9_ce-150000.1.39.1
SUSE:Linux Enterprise Module for Containers 15 SP7docker-stablebefore 24.0.9_ce-150000.1.39.124.0.9_ce-150000.1.39.1
SUSE:Linux Enterprise Server 12 SP5-LTSSdockerbefore 27.5.1_ce-98.126.127.5.1_ce-98.126.1
SUSE:Linux Enterprise Server 12 SP5-LTSSdocker-stablebefore 24.0.9_ce-1.11.124.0.9_ce-1.11.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5dockerbefore 27.5.1_ce-98.123.127.5.1_ce-98.123.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5docker-stablebefore 24.0.9_ce-1.32.124.0.9_ce-1.32.1
SUSE:Linux Micro 6.0dockerbefore 27.5.1_ce-2.127.5.1_ce-2.1

+1

Other highest-scoring records for the same primary product.

  • CVE-2023-28840moby/moby's dockerd daemon encrypted overlay network may be unauthenticated
    35Monitor
  • CVE-2024-36623moby through v25.0.3 has a Race Condition vulnerability in the streamformatter package which can be used to trigger multiple concurrent writ
    32Monitor
  • CVE-2024-24557Moby classic builder cache poisoning
    31Monitor
  • CVE-2018-12608An issue was discovered in Docker Moby before 17.06.0.
    30Monitor
  • CVE-2023-28842moby/moby's dockerd daemon encrypted overlay network with a single endpoint is unauthenticated
    27Monitor
  • CVE-2023-28841moby/moby's dockerd daemon encrypted overlay network traffic may be unencrypted
    27Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:docker.io26.1.4+dfsg1-9 · Debian:13Package registry (OSV)
Go:github.com/docker/docker23.0.11Package registry (OSV)
Go:github.com/docker/docker25.0.5Package registry (OSV)
Go:github.com/docker/docker25.0.5+incompatiblePackage registry (OSV)
Go:github.com/docker/docker26.0.0-rc3Package registry (OSV)
Go:github.com/docker/docker26.0.0-rc3+incompatiblePackage registry (OSV)
opensuse:docker27.5.1_ce-150000.215.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:docker-stable24.0.9_ce-150000.1.11.1 · openSUSE:Leap 15.6Package registry (OSV)
suse:docker27.5.1_ce-150000.215.3 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)
suse:docker-stable24.0.9_ce-150000.1.11.1 · SUSE:Linux Enterprise Module for Containers 15 SP6Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records