Vulnerability
CVE-2021-41091
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.
38 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALPINE-CVE-2021-41091
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…
- ALPINE-EDGE-CVE-2021-41091
- CGA-2wg7-4prw-5xv3
- CGA-3j3f-gq2q-qxmx
- CGA-4c89-mvfm-fx6x
- CGA-5c8q-69w4-f8jr
- CGA-6gjx-8p3r-vc8p
- CGA-7cvc-m5mc-7xrc
- CGA-7j5r-pf65-vc69
- CGA-crf7-8qj6-ph7v
- CGA-g2m4-xgp7-g4p5
- CGA-grv4-f5qq-2vp4
- CGA-h9qq-787c-2hvr
- CGA-hqpv-3gc3-4hxw
- CGA-jqxc-fp3h-7hmv
- CGA-jvg8-2whc-7vqm
- CGA-m84r-8r5p-96jm
- CGA-m9rv-rrv6-8g7h
- CGA-pr5v-7wfc-m728
- CGA-q8mp-576m-5pjp
- CGA-qrw8-mv7m-xjp8
- CGA-r7h9-7rjp-xhrx
-
DEBIAN-CVE-2021-41091
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…
-
GHSA-3fwx-pjgw-3558
Moby (Docker Engine) Insufficiently restricted permissions on data directory
-
GO-2024-2500
Moby (Docker Engine) Insufficiently restricted permissions on data directory in github.com/docker/docker
-
OESA-2022-1739
docker security update
-
RHVEX-CVE-2021-41091
moby: data directory contains subdirectories with insufficiently restricted permissions, which could lead to directory traversal
-
SUSE-SU-2021:3336-1
Security update for containerd, docker, runc
-
SUSE-SU-2021:3506-1
Security update for containerd, docker, runc
-
SUSE-SU-2022:0213-1
Security update for containerd, docker
-
SUSE-SU-2022:0334-1
Security update for containerd, docker
-
SUSE-SU-2025:03540-1
Security update for docker-stable
-
SUSE-SU-2025:03545-1
Security update for docker-stable
-
SUSEVEX-CVE-2021-41091
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…
-
UBUNTU-CVE-2021-41091
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…
-
openSUSE-SU-2021:1404-1
Security update for containerd, docker, runc
-
openSUSE-SU-2021:3506-1
Security update for containerd, docker, runc
-
openSUSE-SU-2022:0334-1
Security update for containerd, docker
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64
- https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/