CVE-2024-32473 Moby IPv6 enabled on IPv4-only network interfaces
Moby fails to disable IPv6 on IPv4-only networks, exposing containers to local network attacks via link-local addresses and multicast groups.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-32473?
CVE-2024-32473 is a medium-severity vulnerability in moby, published on 18 Apr 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
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.
Weakness: CWE-668
Which versions are affected by CVE-2024-32473?
3 open source packages ship an affected version, including github.com/docker/docker. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/docker/docker Go | From 26.0.0 | 26.0.2 |
github.com/docker/docker Go | From 26.0.0 | 26.0.2 |
github.com/docker/docker Go | From 26.0.0+incompatible | 26.0.2+incompatible |
Products include Mobyproject Moby.
How do I fix CVE-2024-32473?
Upgrade github.com/docker/docker to a fixed version for your release line: 26.0.2 or 26.0.2+incompatible.
Is CVE-2024-32473 being exploited?
There is no known exploitation of CVE-2024-32473 in the wild and no public exploit code.
Other vulnerabilities in moby
- CVE-2024-36623 Moby Race Condition vulnerability
- CVE-2023-28840 moby/moby's dockerd daemon encrypted overlay network may be unauthenticated
- CVE-2018-12608 Docker Authentication Bypass
- CVE-2024-24557 Moby classic builder cache poisoning
- CVE-2023-28841 moby/moby's dockerd daemon encrypted overlay network traffic may be unencrypted
Sources
Also known as BELL-CVE-2024-32473, CLEANSTART-2026-OK96613, DEBIAN-CVE-2024-32473, GHSA-x84c-p2g9-rqv9, GO-2024-2737, OESA-2024-1591 and 2 more.