Vulnerability · Published Apr 18, 2024 · Assigned by GitHub_M
CVE-2024-32473Moby IPv6 enabled on IPv4-only network interfaces
Medium 4.7
In plain English
A medium-severity security flaw in moby from moby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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. In 26.0.0, IPv6 is not disabled on network interfaces, including those belonging to networks where `--ipv6=false`. An container with an `ipvlan` or `macvlan` interface will normally be configured to share an external network link with the host machine. Because of this direct access, (1) Containers may be able to communicate with other hosts on the local network over link-local IPv6 addresses, (2) if router advertisements are being broadcast over the local network, containers may get SLAAC-assigned addresses, and (3) the interface will be a member of IPv6 multicast groups. This means interfaces in IPv4-only networks present an unexpectedly and unnecessarily increased attack surface. The issue is patched in 26.0.2. To completely disable IPv6 in a container, use `--sysctl=net.ipv6.conf.all.disable_ipv6=1` in the `docker create` or `docker run` command. Or, in the service configuration of a `compose` file.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | docker | 26.0.2-r0 | ALPINE-CVE-2024-32473 |
| Alpine:v3.21 | docker | 26.0.2-r0 | ALPINE-CVE-2024-32473 |
| Alpine:v3.22 | docker | 26.0.2-r0 | ALPINE-CVE-2024-32473 |
| Alpine:v3.23 | docker | 26.0.2-r0 | ALPINE-CVE-2024-32473 |
| Alpine:v3.24 | docker | 26.0.2-r0 | ALPINE-CVE-2024-32473 |
| Debian:12 | docker.io | no fix listed | DEBIAN-CVE-2024-32473 |
| Debian:13 | docker.io | 26.1.4+dfsg1-9 | DEBIAN-CVE-2024-32473 |
| Debian:14 | docker.io | 26.1.4+dfsg1-9 | DEBIAN-CVE-2024-32473 |
| Go | github.com/docker/docker | 26.0.2 | GHSA-x84c-p2g9-rqv9 |
| Go | github.com/docker/docker | 26.0.2+incompatible | GO-2024-2737 |
| Ubuntu:22.04:LTS | docker.io-app | 27.5.1-0ubuntu3~22.04.2 | UBUNTU-CVE-2024-32473 |
Affected products (as reported)
Weakness: CWE-668 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/moby/moby/security/advisories/GHSA-x84c-p2g9-rqv9 x_refsource_CONFIRM
- https://github.com/moby/moby/commit/7cef0d9cd1cf221d8c0b7b7aeda69552649e0642 x_refsource_MISC