CVE-2021-41091
published medium CVSS 3.1 · 6.3Insufficiently restricted permissions on data directory in Docker Engine
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 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.
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
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
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/f0ab919f518c47240ea0e72d0999576bb8008e64
- https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558
- 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
Insufficiently restricted permissions on data directory in Docker Engine
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d4e5fd813f04aa7dbba697ff439ccc38a5f17e82d6528b0477c54fab759cd634
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record