CVE-2021-41089
published low CVSS 3.1 · 2.8`docker cp` allows unexpected chmod of host files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| moby | — | moby< 20.10.9 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2022-017 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2023-028 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2022-017 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | docker | Fixed | 20.10.9-r0 | Package fix record |
| SUSE / openSUSE | SLE-12 | containerdppc64le | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| Alpine Linux | v3.14 | docker | Fixed | 20.10.9-r0 | Package fix record |
| Alpine Linux | v3.15 | docker | Fixed | 20.10.9-r0 | Package fix record |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.16 | docker | Fixed | 20.10.9-r0 | Package fix record |
| Alpine Linux | v3.17 | docker | Fixed | 20.10.9-r0 | Package fix record |
| Alpine Linux | v3.18 | docker | Fixed | 20.10.9-r0 | Package fix record |
| Alpine Linux | v3.19 | docker | Fixed | 20.10.9-r0 | Package fix record |
| Alpine Linux | v3.20 | docker | Fixed | 20.10.9-r0 | Package fix record |
| Alpine Linux | v3.21 | docker | Fixed | 20.10.9-r0 | Package fix record |
| Alpine Linux | v3.22 | docker | Fixed | 20.10.9-r0 | Package fix record |
| Alpine Linux | v3.23 | docker | Fixed | 20.10.9-r0 | Package fix record |
| Alpine Linux | v3.24 | docker | Fixed | 20.10.9-r0 | Package fix record |
| SUSE / openSUSE | SLE-12 | containerdppc64le | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12 | containerds390x | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | containerds390x | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12 | containerdx86_64 | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | containerdx86_64 | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12 | dockerppc64le | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12 | dockerppc64le | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | dockers390x | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12 | dockers390x | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | dockerx86_64 | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12 | dockerx86_64 | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | runcppc64le | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | runcs390x | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | runcx86_64 | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdppc64le | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdppc64le | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerds390x | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerds390x | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdx86_64 | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdx86_64 | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockerppc64le | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockerppc64le | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockers390x | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockers390x | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockerx86_64 | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockerx86_64 | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | runcppc64le | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | runcs390x | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | runcx86_64 | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdppc64le | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdppc64le | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerds390x | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerds390x | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdx86_64 | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdx86_64 | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockerppc64le | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockerppc64le | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockers390x | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockers390x | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockerx86_64 | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockerx86_64 | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | runcppc64le | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | runcs390x | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | runcx86_64 | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdppc64le | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdppc64le | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerds390x | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerds390x | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdx86_64 | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdx86_64 | Advisory build | 1.4.12-16.49.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP5 | dockerppc64le | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP5 | dockerppc64le | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | dockers390x | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP5 | dockers390x | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | dockerx86_64 | Advisory build | 20.10.12_ce-98.75.1 | SUSE-SU-2022:0213-1 |
| SUSE / openSUSE | SLE-12-SP5 | dockerx86_64 | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | docker-stableaarch64 | Advisory build | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| SUSE / openSUSE | SLE-12-SP5 | docker-stableppc64le | Advisory build | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| SUSE / openSUSE | SLE-12-SP5 | docker-stables390x | Advisory build | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| SUSE / openSUSE | SLE-12-SP5 | docker-stablex86_64 | Advisory build | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| SUSE / openSUSE | SLE-12-SP5 | docker-stable-bash-completionnoarch | Advisory build | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| SUSE / openSUSE | SLE-12-SP5 | runcppc64le | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | runcs390x | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | runcx86_64 | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-15 | containerdppc64le | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | containerds390x | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | containerdx86_64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | dockerppc64le | Advisory build | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | dockers390x | Advisory build | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | dockerx86_64 | Advisory build | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | docker-bash-completionnoarch | Advisory build | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | runcaarch64 | Advisory build | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | runcppc64le | Advisory build | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | runcs390x | Advisory build | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | runcx86_64 | Advisory build | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdaarch64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdppc64le | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerds390x | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdx86_64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | dockeraarch64 | Advisory build | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | dockerppc64le | Advisory build | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | dockers390x | Advisory build | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | dockerx86_64 | Advisory build | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | docker-bash-completionnoarch | Advisory build | 20.10.9_ce-156.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | runcaarch64 | Advisory build | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | runcppc64le | Advisory build | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | runcs390x | Advisory build | 1.0.2-23.1 | SUSE-SU-2021:3506-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.8 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moby | moby | < 20.10.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-281 CWE-281: Improper Preservation of Permissions
References
5- 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
- FEDORA-2021-b5a9a481a2 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/
- FEDORA-2021-df975338d4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/
Provider assertions
2GitHub_M · cna
`docker cp` allows unexpected chmod of host files
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 47906d8824e19c23b893cd434edcf4098b1e4b815920f007cb42a06d30c77686
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record