CVE-2024-32473 Moby IPv6 enabled on IPv4-only network interfaces

Medium 4.7 Published Updated

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.

PackageAffectedFixed in
github.com/docker/docker GoFrom 26.0.026.0.2
github.com/docker/docker GoFrom 26.0.026.0.2
github.com/docker/docker GoFrom 26.0.0+incompatible26.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.

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.

Is CVE-2024-32473 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free