CVE-2021-41091
Fixed in a distro release EPSS 3%CVSS 6.3
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where the data directory (typically `/var/lib/docker`) contained subdirectories with insufficiently restricted permissions, allowing otherwise unprivileged Linux users to traverse directory contents and execute programs. When containers included executable programs with extended permission bits (such as `setuid`), unprivileged Linux users could discover and execute those programs. When the UID of an unprivileged Linux user on the host collided with the file owner or group inside a container, the unprivileged Linux user on the host could discover, read, and modify those files. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers should be stopped and restarted for the permissions to be fixed. For users unable to upgrade limit access to the host to trusted users. Limit access to host volumes to trusted containers.
Products: moby
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | github.com/docker/docker | 20.10.9 |
| Go | github.com/docker/docker | 20.10.9+incompatible |
| Go | github.com/moby/moby | 20.10.9 |
| Go | github.com/moby/moby | 20.10.9+incompatible |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Arch Linux | docker | 1:20.10.9-1 |
| Chainguard | docker | 0 |
| Chainguard | docker-config-mirror-gcr | 0 |
| Chainguard | docker-dind | 0 |
| Chainguard | docker-dind-compat | 0 |
| Chainguard | docker-init | 0 |
| Chainguard | docker-machine-driver-harvester | 1.0.5-r0 |
| Chainguard | docker-machine-driver-harvester | 1.0.4-r1 |
| Chainguard | docker-modprobe-compat | 0 |
| Chainguard | docker-oci-entrypoint | 0 |
| Chainguard | docker-rootless | 0 |
| Chainguard | dockerd | 0 |
| Chainguard | dockerd-oci-entrypoint | 0 |
| Chainguard | dockerd-service | 0 |
| Chainguard | rancher-machine | 0.15.0.137-r0 |
| Debian 12 | docker.io | 20.10.10+dfsg1-1 |
| Debian 13 | docker.io | 20.10.10+dfsg1-1 |
| Debian 14 | docker.io | 20.10.10+dfsg1-1 |
| SUSE Enterprise Storage 6 | containerd | 1.4.11-56.1 |
| SUSE Enterprise Storage 6 | docker | 20.10.9_ce-156.1 |
| SUSE Enterprise Storage 6 | runc | 1.0.2-23.1 |
| SUSE Enterprise Storage 7 | runc | 1.0.2-23.1 |
| SUSE Enterprise Storage 7.1 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Micro 5.0 | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise Micro 5.0 | containerd | 1.4.12-60.1 |
| SUSE Linux Enterprise Micro 5.0 | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise Micro 5.0 | docker | 20.10.12_ce-159.1 |
| SUSE Linux Enterprise Micro 5.0 | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Micro 5.1 | containerd | 1.4.12-60.1 |
| SUSE Linux Enterprise Micro 5.1 | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise Micro 5.1 | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise Micro 5.1 | docker | 20.10.12_ce-159.1 |
| SUSE Linux Enterprise Micro 5.1 | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Module for Containers 12 | containerd | 1.4.11-16.45.1 |
| SUSE Linux Enterprise Module for Containers 12 | containerd | 1.4.12-16.49.1 |
| SUSE Linux Enterprise Module for Containers 12 | docker | 20.10.9_ce-98.72.1 |
| SUSE Linux Enterprise Module for Containers 12 | docker | 20.10.12_ce-98.75.1 |
| SUSE Linux Enterprise Module for Containers 12 | runc | 1.0.2-16.14.1 |
| SUSE Linux Enterprise Module for Containers 15 SP2 | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise Module for Containers 15 SP2 | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise Module for Containers 15 SP2 | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Module for Containers 15 SP3 | containerd | 1.4.12-60.1 |
| SUSE Linux Enterprise Module for Containers 15 SP3 | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise Module for Containers 15 SP3 | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise Module for Containers 15 SP3 | docker | 20.10.12_ce-159.1 |
| SUSE Linux Enterprise Module for Containers 15 SP3 | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Module for Containers 15 SP6 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Module for Containers 15 SP7 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | docker-stable | 24.0.9_ce-1.20.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 15-LTSS | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise Server 15-LTSS | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise Server 15-LTSS | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | docker-stable | 24.0.9_ce-1.20.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | containerd | 1.4.11-56.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | docker | 20.10.9_ce-156.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | runc | 1.0.2-23.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| Ubuntu 18.04 LTS | docker.io | 20.10.7-0ubuntu5~18.04.2 |
| Ubuntu 20.04 LTS | docker.io | 20.10.7-0ubuntu5~20.04.1 |
| Ubuntu 22.04 LTS | docker.io | 20.10.7-0ubuntu5 |
| Wolfi | docker | 0 |
| Wolfi | docker-config-mirror-gcr | 0 |
| Wolfi | docker-dind | 0 |
| Wolfi | docker-dind-compat | 0 |
| Wolfi | docker-init | 0 |
| Wolfi | docker-machine-driver-harvester | 1.0.4-r1 |
| Wolfi | docker-machine-driver-harvester | 1.0.5-r0 |
| Wolfi | docker-modprobe-compat | 0 |
| Wolfi | docker-oci-entrypoint | 0 |
| Wolfi | docker-rootless | 0 |
| Wolfi | dockerd | 0 |
| Wolfi | dockerd-oci-entrypoint | 0 |
| Wolfi | dockerd-service | 0 |
| Wolfi | rancher-machine | 0.15.0.137-r0 |
| openSUSE Leap 15.2 | containerd | 1.4.11-lp152.2.12.1 |
| openSUSE Leap 15.2 | docker | 20.10.9_ce-lp152.2.18.1 |
| openSUSE Leap 15.2 | runc | 1.0.2-lp152.2.9.1 |
| openSUSE Leap 15.3 | containerd | 1.4.11-56.1 |
| openSUSE Leap 15.3 | containerd | 1.4.12-60.1 |
| openSUSE Leap 15.3 | docker | 20.10.9_ce-156.1 |
| openSUSE Leap 15.3 | docker | 20.10.12_ce-159.1 |
| openSUSE Leap 15.3 | docker-kubic | 20.10.9_ce-156.1 |
| openSUSE Leap 15.3 | docker-kubic | 20.10.12_ce-159.1 |
| openSUSE Leap 15.3 | runc | 1.0.2-23.1 |
| openSUSE Leap 15.6 | docker-stable | 24.0.9_ce-150000.1.25.1 |