{"id":"GHSA-mq39-4gv4-mvpx","revision":null,"records":[{"revision":"260dafc68a2545f6bfc8ed879f46e150","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-29018","aliases":[],"title":"External DNS requests from 'internal' networks could lead to data exfiltration","description":"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.\n\nWhen 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.\n\nContainers 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.\n\nIn 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.\n\nWhen 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.\n\nAs 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.\n\nMany 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.\n\nBecause `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.\n\nDocker Desktop is not affected, as Docker Desktop always runs an internal resolver on a RFC 1918 address.\n\nMoby 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.","state":0,"publishedAt":"2024-03-20T20:27:00.491+00:00","modifiedAt":"2024-08-13T17:00:25.512+00:00","affected":[{"ecosystem":"Vendor product","name":"moby","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"moby\",\n                    \"product\": \"moby\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 26.0.0-rc1, < 26.0.0-rc3\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 25.0.0, < 25.0.5\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"< 23.0.11\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/moby/moby/security/advisories/GHSA-mq39-4gv4-mvpx","https://github.com/moby/moby/pull/46609"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-29018","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-29018","identifiers":["CVE-2024-29018"]},"retained":false,"historicalAffected":[]},{"revision":"76da4bb935af45cab98f752ca46e6fd2","observedAt":"2026-11-15T07:46:25.211+00:00","statement":{"source":"euvd","id":"EUVD-2024-0966","aliases":["CVE-2024-29018","GHSA-mq39-4gv4-mvpx"],"title":"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…","description":"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.\n\nWhen 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.\n\nContainers 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.\n\nIn 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.\n\nWhen 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.\n\nAs 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.\n\nMany 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.\n\nBecause `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.\n\nDocker Desktop is not affected, as Docker Desktop always runs an internal resolver on a RFC 1918 address.\n\nMoby 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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"severity":null}],"references":["https://github.com/moby/moby/security/advisories/GHSA-mq39-4gv4-mvpx","https://github.com/moby/moby/pull/46609"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0966","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 20, 2024, 8:27:00 PM","dateUpdated":"Aug 13, 2024, 5:00:25 PM"},"relatedAdvisories":[{"id":"SUSE-SU-2025:03545-1","title":"Security update for docker-stable","vulnerabilityIds":["CVE-2014-3499","CVE-2014-5277","CVE-2014-6407","CVE-2014-6408","CVE-2014-8178","CVE-2014-8179","CVE-2014-9356","CVE-2014-9357","CVE-2014-9358","CVE-2015-3627","CVE-2015-3629","CVE-2015-3630","CVE-2015-3631","CVE-2016-3697","CVE-2016-8867","CVE-2016-9962","CVE-2017-14992","CVE-2017-16539","CVE-2018-10892","CVE-2018-15664","CVE-2018-16873","CVE-2018-16874","CVE-2018-16875","CVE-2018-20699","CVE-2019-13509","CVE-2019-14271","CVE-2020-12912","CVE-2020-13401","CVE-2020-15257","CVE-2020-8694","CVE-2020-8695","CVE-2021-21284","CVE-2021-21285","CVE-2021-41089","CVE-2021-41091","CVE-2021-41092","CVE-2021-41103","CVE-2021-41190","CVE-2021-43565","CVE-2022-24769","CVE-2022-27191","CVE-2022-36109","CVE-2023-28840","CVE-2023-28841","CVE-2023-28842","CVE-2024-23650","CVE-2024-23651","CVE-2024-23652","CVE-2024-23653","CVE-2024-29018","CVE-2024-41110","CVE-2025-22868","CVE-2025-22869"]},{"id":"msrc_CVE-2024-29018","title":"External DNS requests from 'internal' networks could lead to data exfiltration","vulnerabilityIds":["CVE-2024-29018"]},{"id":"SUSE-SU-2025:0992-1","title":"Security update for docker","vulnerabilityIds":["CVE-2024-29018"]},{"id":"WID-SEC-W-2025-1439","title":"Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff","vulnerabilityIds":["CVE-2022-39028","CVE-2023-4016","CVE-2023-40403","CVE-2023-46316","CVE-2023-52426","CVE-2023-52831","CVE-2023-52924","CVE-2023-52925","CVE-2023-52926","CVE-2023-52927","CVE-2024-10041","CVE-2024-11168","CVE-2024-12243","CVE-2024-26634","CVE-2024-26708","CVE-2024-26810","CVE-2024-26873","CVE-2024-29018","CVE-2024-35826","CVE-2024-35910","CVE-2024-38606","CVE-2024-40635","CVE-2024-40980","CVE-2024-41005","CVE-2024-41055","CVE-2024-41077","CVE-2024-41149","CVE-2024-42307","CVE-2024-43790","CVE-2024-43802","CVE-2024-43820","CVE-2024-44974","CVE-2024-45009","CVE-2024-45010","CVE-2024-45306","CVE-2024-46736","CVE-2024-46782","CVE-2024-46796","CVE-2024-47220","CVE-2024-47408","CVE-2024-47794","CVE-2024-49571","CVE-2024-49761","CVE-2024-49924","CVE-2024-49940","CVE-2024-49994","CVE-2024-50029","CVE-2024-50036","CVE-2024-50056","CVE-2024-50085","CVE-2024-50126","CVE-2024-50140","CVE-2024-50152","CVE-2024-50185","CVE-2024-50290","CVE-2024-50294","CVE-2024-52559","CVE-2024-53057","CVE-2024-53063","CVE-2024-53123","CVE-2024-53140","CVE-2024-53147","CVE-2024-53163","CVE-2024-53176","CVE-2024-53177","CVE-2024-53178","CVE-2024-53226","CVE-2024-53680","CVE-2024-54683","CVE-2024-55549","CVE-2024-56171","CVE-2024-56568","CVE-2024-56579","CVE-2024-56633","CVE-2024-56638","CVE-2024-56640","CVE-2024-56647","CVE-2024-56702","CVE-2024-56703","CVE-2024-56718","CVE-2024-56719","CVE-2024-56720","CVE-2024-56751","CVE-2024-56758","CVE-2024-56770","CVE-2024-57807","CVE-2024-57834","CVE-2024-57889","CVE-2024-57900","CVE-2024-57947","CVE-2024-57948","CVE-2024-57973","CVE-2024-57974","CVE-2024-57978","CVE-2024-57979","CVE-2024-57980","CVE-2024-57981","CVE-2024-57986","CVE-2024-57990","CVE-2024-57993","CVE-2024-57994","CVE-2024-57996","CVE-2024-57997","CVE-2024-57999","CVE-2024-58002","CVE-2024-58005","CVE-2024-58006","CVE-2024-58007","CVE-2024-58009","CVE-2024-58011","CVE-2024-58012","CVE-2024-58013","CVE-2024-58014","CVE-2024-58017","CVE-2024-58019","CVE-2024-58020","CVE-2024-58034","CVE-2024-58051","CVE-2024-58052","CVE-2024-58054","CVE-2024-58055","CVE-2024-58056","CVE-2024-58057","CVE-2024-58058","CVE-2024-58061","CVE-2024-58063","CVE-2024-58069","CVE-2024-58072","CVE-2024-58076","CVE-2024-58078","CVE-2024-58079","CVE-2024-58080","CVE-2024-58083","CVE-2024-58085","CVE-2024-58086","CVE-2024-8176","CVE-2025-0395","CVE-2025-1094","CVE-2025-1215","CVE-2025-1795","CVE-2025-21631","CVE-2025-21635","CVE-2025-21636","CVE-2025-21637","CVE-2025-21638","CVE-2025-21639","CVE-2025-21640","CVE-2025-21647","CVE-2025-21659","CVE-2025-21665","CVE-2025-21667","CVE-2025-21668","CVE-2025-21671","CVE-2025-21673","CVE-2025-21680","CVE-2025-21681","CVE-2025-21684","CVE-2025-21687","CVE-2025-21688","CVE-2025-21689","CVE-2025-21690","CVE-2025-21692","CVE-2025-21693","CVE-2025-21697","CVE-2025-21699","CVE-2025-21700","CVE-2025-21701","CVE-2025-21703","CVE-2025-21704","CVE-2025-21705","CVE-2025-21706","CVE-2025-21708","CVE-2025-21711","CVE-2025-21714","CVE-2025-21715","CVE-2025-21716","CVE-2025-21718","CVE-2025-21719","CVE-2025-21723","CVE-2025-21724","CVE-2025-21725","CVE-2025-21726","CVE-2025-21727","CVE-2025-21728","CVE-2025-21731","CVE-2025-21732","CVE-2025-21733","CVE-2025-21734","CVE-2025-21735","CVE-2025-21736","CVE-2025-21738","CVE-2025-21739","CVE-2025-21741","CVE-2025-21742","CVE-2025-21743","CVE-2025-21744","CVE-2025-21745","CVE-2025-21749","CVE-2025-21750","CVE-2025-21753","CVE-2025-21754","CVE-2025-21756","CVE-2025-21759","CVE-2025-21760","CVE-2025-21761","CVE-2025-21762","CVE-2025-21763","CVE-2025-21764","CVE-2025-21765","CVE-2025-21766","CVE-2025-21767","CVE-2025-21772","CVE-2025-21773","CVE-2025-21775","CVE-2025-21776","CVE-2025-21779","CVE-2025-21780","CVE-2025-21781","CVE-2025-21782","CVE-2025-21784","CVE-2025-21785","CVE-2025-21790","CVE-2025-21791","CVE-2025-21793","CVE-2025-21794","CVE-2025-21795","CVE-2025-21796","CVE-2025-21799","CVE-2025-21802","CVE-2025-21804","CVE-2025-21810","CVE-2025-21815","CVE-2025-21819","CVE-2025-21820","CVE-2025-21821","CVE-2025-21823","CVE-2025-21825","CVE-2025-21828","CVE-2025-21829","CVE-2025-21830","CVE-2025-21831","CVE-2025-21832","CVE-2025-21835","CVE-2025-21838","CVE-2025-21844","CVE-2025-21846","CVE-2025-21847","CVE-2025-21848","CVE-2025-21850","CVE-2025-21855","CVE-2025-21856","CVE-2025-21857","CVE-2025-21858","CVE-2025-21859","CVE-2025-21861","CVE-2025-21862","CVE-2025-21864","CVE-2025-21865","CVE-2025-21866","CVE-2025-21869","CVE-2025-21870","CVE-2025-21871","CVE-2025-21876","CVE-2025-21877","CVE-2025-21878","CVE-2025-21883","CVE-2025-21885","CVE-2025-21886","CVE-2025-21888","CVE-2025-21890","CVE-2025-21891","CVE-2025-21892","CVE-2025-22134","CVE-2025-22228","CVE-2025-22247","CVE-2025-22868","CVE-2025-22869","CVE-2025-24014","CVE-2025-24813","CVE-2025-24855","CVE-2025-24928","CVE-2025-2588","CVE-2025-26465","CVE-2025-26466","CVE-2025-26597","CVE-2025-27113","CVE-2025-27219","CVE-2025-27220","CVE-2025-27363","CVE-2025-29087","CVE-2025-29088","CVE-2025-31115","CVE-2025-31335","CVE-2025-31650","CVE-2025-31651","CVE-2025-32414","CVE-2025-32415","CVE-2025-32728","CVE-2025-3360","CVE-2025-4207","CVE-2025-4382","CVE-2025-47268","CVE-2025-4802","CVE-2025-48734"]},{"id":"SUSE-SU-2025:20205-1","title":"Security update for docker","vulnerabilityIds":["CVE-2024-29018","CVE-2025-0495","CVE-2025-22868","CVE-2025-22869"]},{"id":"openSUSE-SU-2024:14597-1","title":"docker-27.4.1_ce-12.1 on GA media","vulnerabilityIds":["CVE-2024-29018"]},{"id":"SUSE-SU-2025:03540-1","title":"Security update for docker-stable","vulnerabilityIds":["CVE-2014-3499","CVE-2014-5277","CVE-2014-6407","CVE-2014-6408","CVE-2014-8178","CVE-2014-8179","CVE-2014-9356","CVE-2014-9357","CVE-2014-9358","CVE-2015-3627","CVE-2015-3629","CVE-2015-3630","CVE-2015-3631","CVE-2016-3697","CVE-2016-8867","CVE-2016-9962","CVE-2017-14992","CVE-2017-16539","CVE-2018-10892","CVE-2018-15664","CVE-2018-16873","CVE-2018-16874","CVE-2018-16875","CVE-2018-20699","CVE-2019-13509","CVE-2019-14271","CVE-2020-12912","CVE-2020-13401","CVE-2020-15257","CVE-2020-8694","CVE-2020-8695","CVE-2021-21284","CVE-2021-21285","CVE-2021-41089","CVE-2021-41091","CVE-2021-41092","CVE-2021-41103","CVE-2021-41190","CVE-2021-43565","CVE-2022-24769","CVE-2022-27191","CVE-2022-36109","CVE-2023-28840","CVE-2023-28841","CVE-2023-28842","CVE-2024-23650","CVE-2024-23651","CVE-2024-23652","CVE-2024-23653","CVE-2024-29018","CVE-2024-41110","CVE-2025-22868","CVE-2025-22869"]},{"id":"SUSE-SU-2025:0226-1","title":"Security update for docker-stable","vulnerabilityIds":["CVE-2024-23650","CVE-2024-23653","CVE-2024-29018","CVE-2024-41110"]},{"id":"SUSE-SU-2025:1102-1","title":"Security update for docker, docker-stable","vulnerabilityIds":["CVE-2024-23650","CVE-2024-23653","CVE-2024-29018","CVE-2024-41110","CVE-2025-22868","CVE-2025-22869"]},{"id":"SUSE-SU-2026:1118-1","title":"Security update for docker-stable","vulnerabilityIds":["CVE-2024-23650","CVE-2024-29018","CVE-2024-41110","CVE-2025-22868","CVE-2025-22869","CVE-2025-30204","CVE-2025-58181"]},{"id":"SUSE-SU-2026:0972-1","title":"Security update for docker-stable","vulnerabilityIds":["CVE-2024-23650","CVE-2024-29018","CVE-2024-41110","CVE-2025-22868","CVE-2025-22869","CVE-2025-30204","CVE-2025-58181"]},{"id":"WID-SEC-W-2024-0684","title":"docker: Schwachstelle ermöglicht Offenlegung von Informationen","vulnerabilityIds":["CVE-2024-29018"]},{"id":"openSUSE-SU-2024:14598-1","title":"docker-stable-24.0.9_ce-6.1 on GA media","vulnerabilityIds":["CVE-2024-2365","CVE-2024-23650","CVE-2024-29018"]},{"id":"SUSE-SU-2025:0776-1","title":"Security update for docker","vulnerabilityIds":["CVE-2024-29018"]},{"id":"RHSA-2024:7164","title":"Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.8.4 security and bug fix update","vulnerabilityIds":["CVE-2019-25211","CVE-2023-45288","CVE-2023-45289","CVE-2024-3727","CVE-2024-4068","CVE-2024-24788","CVE-2024-28180","CVE-2024-28849","CVE-2024-28863","CVE-2024-29018","CVE-2024-29041","CVE-2024-29180","CVE-2024-39338"]},{"id":"SUSE-SU-2025:20259-1","title":"Security update for docker","vulnerabilityIds":["CVE-2023-45142","CVE-2023-47108","CVE-2024-29018","CVE-2024-41110"]},{"id":"SUSE-SU-2025:1062-1","title":"Security update for docker, docker-stable","vulnerabilityIds":["CVE-2024-23650","CVE-2024-29018","CVE-2024-41110","CVE-2025-22868","CVE-2025-22869"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-0966","identifiers":["EUVD-2024-0966","CVE-2024-29018","GHSA-mq39-4gv4-mvpx"]},"retained":false,"historicalAffected":[]},{"revision":"e84f68ce3f0f41cca77d36d51d1075a6","observedAt":"2026-10-24T23:17:34.532+00:00","statement":{"source":"nvd","id":"CVE-2024-29018","aliases":[],"title":"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…","description":"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.\n\nWhen 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.\n\nContainers 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.\n\nIn 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.\n\nWhen 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.\n\nAs 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.\n\nMany 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.\n\nBecause `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.\n\nDocker Desktop is not affected, as Docker Desktop always runs an internal resolver on a RFC 1918 address.\n\nMoby 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.","state":0,"publishedAt":"2024-03-20T21:15:31.113+00:00","modifiedAt":"2026-06-17T07:22:15.72+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/moby/moby/pull/46609","https://github.com/moby/moby/security/advisories/GHSA-mq39-4gv4-mvpx"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-29018","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-669"],"productCriteria":["cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*","cpe:2.3:a:mobyproject:moby:26.0.0:rc1:*:*:*:*:*:*","cpe:2.3:a:mobyproject:moby:26.0.0:rc2:*:*:*:*:*:*","cpe:2.3:a:mobyproject:moby:26.0.0:rc3:*:*:*:*:*:*"],"sourceDates":{"published":"2024-03-20T21:15:31.113","lastModified":"2026-06-17T07:22:15.720"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-29018","identifiers":["CVE-2024-29018"]},"retained":false,"historicalAffected":[]},{"revision":"8a093ec33af945da980c101de520a37b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-mq39-4gv4-mvpx","aliases":["CVE-2024-29018","GO-2024-2659"],"title":"Moby's external DNS requests from 'internal' networks could lead to data exfiltration","description":"Moby is an open source container framework originally developed by Docker Inc. as Docker. It is a key component of Docker Engine, Docker Desktop, and other distributions of container tooling or runtimes. As a batteries-included container runtime, Moby comes with a built-in networking implementation that enables communication between containers, and between containers and external resources.\n\nMoby's networking implementation allows for creating and using many networks, each with their own subnet and gateway. 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.\n\nWhen containers with networking are created, they are assigned unique network interfaces and IP addresses (typically from a non-routable [RFC 1918](https://datatracker.ietf.org/doc/html/rfc1918) subnet). The root network namespace (hereafter referred to as the 'host') serves as a router for non-internal networks, with a gateway IP that provides SNAT/DNAT to/from container IPs.\n\nContainers 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.\n\nIn 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 (looking up other containers on the network by name), and resolution of names from an upstream resolver.\n\nWhen a DNS request for a name that does not correspond to a container is received, the request is forwarded to the configured upstream resolver (by default, the host's configured resolver). This request is made from the container network namespace: the level of access and routing of traffic is the same as if the request was made by the container itself.\n\nAs a consequence of this design, containers solely attached to _internal_ network(s) 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.\n\nMany systems will run a local forwarding DNS resolver, typically present on a loopback address (`127.0.0.0/8`), such as systemd-resolved or dnsmasq. Common loopback address examples include `127.0.0.1` or `127.0.0.53`. 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.\n\nTo bridge this gap, and to allow containers to properly resolve names even when a local forwarding resolver is used on a loopback address, `dockerd` will detect this scenario and instead forward DNS requests from the host/root network namespace. The loopback resolver will then forward the requests to its configured upstream resolvers, as expected.\n\n## Impact\n\nBecause `dockerd` will forward 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.\n\nBy 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. For example, if the domain `evil.example` was registered, the authoritative nameserver(s) for that domain could (eventually and indirectly) receive a request for `this-is-a-secret.evil.example`.\n\nDocker Desktop is not affected, as Docker Desktop always runs an internal resolver on a RFC 1918 address.\n\n## Patches\n\nMoby releases 26.0.0-rc3, 25.0.5 (released) and 23.0.11 (to be released) are patched to prevent forwarding DNS requests from internal networks.\n\n## Workarounds\n\n-   Run containers intended to be solely attached to _internal_ networks with a custom upstream address (`--dns` argument to `docker run`, or API equivalent), which will force all upstream DNS queries to be resolved from the container network namespace.\n\n## Background\n\n- yair zak originally reported this issue to the Docker security team.\n-  PR <https://github.com/moby/moby/pull/46609> was opened in public to fix this issue, as it was not originally considered to have a security implication.\n- [The official documentation](https://docs.docker.com/network/drivers/ipvlan/#:~:text=If%20the%20parent,the%20network%20completely) claims that \"the `--internal` flag that will completely isolate containers on a network from any communications external to that network,\" which necessitated this advisory and CVE.","state":0,"publishedAt":"2024-03-20T17:59:52+00:00","modifiedAt":"2026-09-10T03:50:10.643197+00:00","affected":[{"ecosystem":"Go","name":"github.com/docker/docker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"26.0.0-rc1"},{"kind":"fixed","version":"26.0.0-rc3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/docker/docker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"25.0.0"},{"kind":"fixed","version":"25.0.5"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/docker/docker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"23.0.11"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/moby/moby/security/advisories/GHSA-mq39-4gv4-mvpx","https://github.com/moby/moby/pull/46609","https://github.com/moby/moby"],"sourceUrl":"https://github.com/advisories/GHSA-mq39-4gv4-mvpx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mq39-4gv4-mvpx","identifiers":["GHSA-mq39-4gv4-mvpx","CVE-2024-29018","GO-2024-2659"]},"retained":false,"historicalAffected":[]},{"revision":"b2bb1fe756af45f78d5f1414110a0b26","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2659","aliases":["CVE-2024-29018","GHSA-mq39-4gv4-mvpx"],"title":"Data exfiltration from internal networks in github.com/docker/docker","description":"dockerd forwards DNS requests to the host loopback device, bypassing the container network namespace's normal routing semantics, networks marked as 'internal' 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.","state":0,"publishedAt":"2024-03-22T18:49:03+00:00","modifiedAt":"2026-02-04T03:49:59.997291+00:00","affected":[{"ecosystem":"Go","name":"github.com/docker/docker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"25.0.0+incompatible"},{"kind":"fixed","version":"25.0.5+incompatible"},{"kind":"introduced","version":"26.0.0-rc1+incompatible"},{"kind":"fixed","version":"26.0.0-rc3+incompatible"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/moby/moby/security/advisories/GHSA-mq39-4gv4-mvpx","https://github.com/moby/moby/pull/46609"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2659","license":"OSV · upstream source license applies","key":"osv:GO-2024-2659","identifiers":["GO-2024-2659","CVE-2024-29018","GHSA-mq39-4gv4-mvpx"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T13:44:52.2477779+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T13:44:52.2477779+00:00","lastSuccessAt":"2026-11-16T13:44:52.547205+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:52.5472072+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-0b8d08d891bfa11c0d58a73df578d0b4ffb15504346bf16dc0ebf0fd9e417816","complete":true,"records":425990,"lastAttemptAt":"2026-11-16T13:44:51.1421919+00:00","lastSuccessAt":"2026-11-16T13:44:51.096163+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:51.1421919+00:00","snapshotPublishedAt":"2026-11-16T13:33:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e7b8d43557f44ad0b4e0a87d8bc9833b","complete":true,"records":13821,"lastAttemptAt":"2026-11-16T13:45:32.4445669+00:00","lastSuccessAt":"2026-11-16T13:45:32.439+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:45:32.439+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T13:44:52.2477779+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T13:44:52.2477779+00:00","lastSuccessAt":"2026-11-16T13:44:52.6938042+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:52.6938064+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-35f0b78ccc2a41d095ad714d95a22e02","complete":false,"records":13833,"lastAttemptAt":"2026-11-16T13:45:26.5787483+00:00","lastSuccessAt":"2026-11-16T13:45:26.575+00:00","error":"400 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T13:45:26.575+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13474,"expectedIdentifiers":13874,"failedIdentifiers":400},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T13:44:51.7855064+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:51.7855064+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T13:44:51.1886417+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:51.1886417+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T13:44:52.214417+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:52.214417+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-263d9c8d63997345727b11314d9b9377eba9fd4146f04497c069a15e332b60cb","complete":true,"records":232482,"lastAttemptAt":"2026-11-16T13:44:51.6814212+00:00","lastSuccessAt":"2026-11-16T07:32:30.5701252+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:51.6814212+00:00","snapshotPublishedAt":"2026-11-16T06:48:00+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}