Vulnerability
CVE-2021-41089
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can result in Unix file permission changes for existing files in the host’s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers do not need to be restarted.
37 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALPINE-CVE-2021-41089
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can…
- ALPINE-EDGE-CVE-2021-41089
- CGA-2rvp-jh55-6vqc
- CGA-548m-qf29-hxfv
- CGA-7rf2-q484-rxh2
- CGA-fj4p-qm6c-h9m2
- CGA-hprc-jwhw-p774
- CGA-j3vv-vm98-4xh4
- CGA-j9h6-m99c-f55m
- CGA-jh7f-5x8w-86v8
- CGA-jw36-9rqr-4ggv
- CGA-pv58-7xqr-67f6
- CGA-r979-52q2-vf9x
- CGA-rx3f-23ph-qf9x
- CGA-v25f-f75c-9mvg
- CGA-v6mr-89qq-39p7
- CGA-wv4v-gwv6-g544
- CGA-x62f-r4fp-432j
-
DEBIAN-CVE-2021-41089
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can…
-
GHSA-v994-f8vw-g7j4
`docker cp` allows unexpected chmod of host files in Moby Docker Engine
-
GO-2024-2913
Unexpected chmod of host files via 'docker cp' in Moby Docker Engine in github.com/docker/docker
-
OESA-2022-1739
docker security update
-
RHVEX-CVE-2021-41089
moby: `docker cp` allows unexpected chmod of host file
-
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-41089
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can…
-
UBUNTU-CVE-2021-41089
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can…
-
USN-5103-1
docker.io vulnerability
-
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
-
openSUSE-SU-2024:11579-1
docker-20.10.9_ce-1.2 on GA media
-
openSUSE-SU-2025:15589-1
docker-stable-24.0.9_ce-15.1 on GA media
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://github.com/moby/moby/commit/bce32e5c93be4caf1a592582155b9cb837fc129a
- https://github.com/moby/moby/security/advisories/GHSA-v994-f8vw-g7j4
- 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/