Insufficiently restricted permissions on data directory in Docker Engine
cve-program · CVE-2021-41091
PublishedMoby 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.
Read the publisher's advisoryeuvd · EUVD-2024-0231
PublishedMoby 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.
Read the publisher's advisorynvd · CVE-2021-41091
PublishedMoby 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.
Read the publisher's advisoryosv · GHSA-3fwx-pjgw-3558
Published## Impact 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. ## Patches 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. ## Workarounds Limit access to the host to trusted users. Limit access to host volumes to trusted containers. ## Credits The Moby project would like to thank Joan Bruguera for responsibly disclosing this issue in accordance with the [Moby security policy](https://github.com/moby/moby/blob/master/SECURITY.md). ## For more information If you have any questions or comments about this advisory: * [Open an issue](https://github.com/moby/moby/issues/new) * Email us at [email protected] if you think you’ve found a security bug
Read the publisher's advisoryosv · GO-2024-2500
PublishedMoby (Docker Engine) Insufficiently restricted permissions on data directory in github.com/docker/docker
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2021-41091
PublishedInsufficiently restricted permissions on data directory in Docker Engine
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.
- Source published
- 4 Oct 2021 20:20:09 UTC
- Source modified
- 4 Aug 2024 02:59:31 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
euvd · EUVD-2024-0231
PublishedMoby 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 per…
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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Oct 4, 2021, 8:20:09 PM
dateUpdated: Aug 4, 2024, 2:59:31 AM
16 related source bulletins · separate from aliases
openSUSE-SU-2021:1404-1: Security update for containerd, docker, runc
CVE-2021-30465 · CVE-2021-32760 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103
SUSE-SU-2021:3336-1: Security update for containerd, docker, runc
CVE-2021-30465 · CVE-2021-32760 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103
SUSE-SU-2025:03540-1: Security update for docker-stable
CVE-2014-3499 · CVE-2014-5277 · CVE-2014-6407 · CVE-2014-6408 · CVE-2014-8178 · CVE-2014-8179 · CVE-2014-9356 · CVE-2014-9357 · CVE-2014-9358 · CVE-2015-3627 · CVE-2015-3629 · CVE-2015-3630 · CVE-2015-3631 · CVE-2016-3697 · CVE-2016-8867 · CVE-2016-9962 · CVE-2017-14992 · CVE-2017-16539 · CVE-2018-10892 · CVE-2018-15664 · CVE-2018-16873 · CVE-2018-16874 · CVE-2018-16875 · CVE-2018-20699 · CVE-2019-13509 · CVE-2019-14271 · CVE-2020-12912 · CVE-2020-13401 · CVE-2020-15257 · CVE-2020-8694 · CVE-2020-8695 · CVE-2021-21284 · CVE-2021-21285 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190 · CVE-2021-43565 · CVE-2022-24769 · CVE-2022-27191 · CVE-2022-36109 · CVE-2023-28840 · CVE-2023-28841 · CVE-2023-28842 · CVE-2024-23650 · CVE-2024-23651 · CVE-2024-23652 · CVE-2024-23653 · CVE-2024-29018 · CVE-2024-41110 · CVE-2025-22868 · CVE-2025-22869
RHEA-2021:5066: Red Hat Enhancement Advisory: MTV 2.2.0 Images
CVE-2021-3749 · CVE-2021-41089 · CVE-2021-41091
SUSE-SU-2022:0334-1: Security update for containerd, docker
CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190
RHSA-2022:0735: Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.2 security updates and bug fixes
CVE-2021-3807 · CVE-2021-3918 · CVE-2021-22963 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-43565 · CVE-2021-43816 · CVE-2021-43858 · CVE-2022-0235 · CVE-2022-24450
WID-SEC-W-2022-1375: JFrog Artifactory: Mehrere Schwachstellen
CVE-2013-4517 · CVE-2013-7285 · CVE-2014-0107 · CVE-2014-0114 · CVE-2014-3577 · CVE-2014-3623 · CVE-2015-0227 · CVE-2015-2575 · CVE-2015-3253 · CVE-2015-4852 · CVE-2015-7940 · CVE-2016-10750 · CVE-2016-3092 · CVE-2016-3674 · CVE-2016-6501 · CVE-2016-8735 · CVE-2016-8745 · CVE-2017-1000487 · CVE-2017-15095 · CVE-2017-17485 · CVE-2017-18214 · CVE-2017-18640 · CVE-2017-7525 · CVE-2017-7657 · CVE-2017-7957 · CVE-2017-9506 · CVE-2018-1000206 · CVE-2018-9116 · CVE-2019-10219 · CVE-2019-12402 · CVE-2019-17359 · CVE-2019-17571 · CVE-2019-20104 · CVE-2020-11996 · CVE-2020-13934 · CVE-2020-13935 · CVE-2020-13949 · CVE-2020-14340 · CVE-2020-15586 · CVE-2020-1745 · CVE-2020-17521 · CVE-2020-25649 · CVE-2020-28500 · CVE-2020-29582 · CVE-2020-36518 · CVE-2020-7226 · CVE-2020-7692 · CVE-2020-8203 · CVE-2021-13936 · CVE-2021-21290 · CVE-2021-22060 · CVE-2021-22112 · CVE-2021-22119 · CVE-2021-22147 · CVE-2021-22148 · CVE-2021-22149 · CVE-2021-22573 · CVE-2021-23337 · CVE-2021-25122 · CVE-2021-26291 · CVE-2021-27568 · CVE-2021-29505 · CVE-2021-30129 · CVE-2021-33037 · CVE-2021-35550 · CVE-2021-35556 · CVE-2021-35560 · CVE-2021-35561 · CVE-2021-35564 · CVE-2021-35565 · CVE-2021-35567 · CVE-2021-35578 · CVE-2021-35586 · CVE-2021-35588 · CVE-2021-35603 · CVE-2021-36374 · CVE-2021-3765 · CVE-2021-3807 · CVE-2021-38561 · CVE-2021-3859 · CVE-2021-41090 · CVE-2021-41091 · CVE-2021-42340 · CVE-2021-42550 · CVE-2021-43797 · CVE-2022-0536 · CVE-2022-22963 · CVE-2022-23632 · CVE-2022-23648 · CVE-2022-23806 · CVE-2022-24769 · CVE-2022-24823 · CVE-2022-27191 · CVE-2022-29153 · CVE-2022-32212 · CVE-2022-32213 · CVE-2022-32214 · CVE-2022-32215 · CVE-2022-32223
SUSE-SU-2025:03545-1: Security update for docker-stable
CVE-2014-3499 · CVE-2014-5277 · CVE-2014-6407 · CVE-2014-6408 · CVE-2014-8178 · CVE-2014-8179 · CVE-2014-9356 · CVE-2014-9357 · CVE-2014-9358 · CVE-2015-3627 · CVE-2015-3629 · CVE-2015-3630 · CVE-2015-3631 · CVE-2016-3697 · CVE-2016-8867 · CVE-2016-9962 · CVE-2017-14992 · CVE-2017-16539 · CVE-2018-10892 · CVE-2018-15664 · CVE-2018-16873 · CVE-2018-16874 · CVE-2018-16875 · CVE-2018-20699 · CVE-2019-13509 · CVE-2019-14271 · CVE-2020-12912 · CVE-2020-13401 · CVE-2020-15257 · CVE-2020-8694 · CVE-2020-8695 · CVE-2021-21284 · CVE-2021-21285 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190 · CVE-2021-43565 · CVE-2022-24769 · CVE-2022-27191 · CVE-2022-36109 · CVE-2023-28840 · CVE-2023-28841 · CVE-2023-28842 · CVE-2024-23650 · CVE-2024-23651 · CVE-2024-23652 · CVE-2024-23653 · CVE-2024-29018 · CVE-2024-41110 · CVE-2025-22868 · CVE-2025-22869
openSUSE-SU-2022:0334-1: Security update for containerd, docker
CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190
SSA-222547: SSA-222547: Third-Party Component Vulnerabilities in SCALANCE LPE9403 before V2.0
CVE-2020-27304 · CVE-2021-20317 · CVE-2021-33910 · CVE-2021-36221 · CVE-2021-39293 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2022-0847
SUSE-SU-2022:0213-1: Security update for containerd, docker
CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2021-41190
SUSE-SU-2021:3506-1: Security update for containerd, docker, runc
CVE-2021-30465 · CVE-2021-32760 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103
WID-SEC-W-2022-1738: IBM InfoSphere Information Server: Mehrere Schwachstellen
CVE-2009-0217 · CVE-2009-2625 · CVE-2012-0881 · CVE-2012-2098 · CVE-2013-2172 · CVE-2013-4002 · CVE-2013-4517 · CVE-2015-4852 · CVE-2015-6420 · CVE-2015-7501 · CVE-2017-15708 · CVE-2019-13116 · CVE-2021-33813 · CVE-2021-36373 · CVE-2021-36374 · CVE-2021-40690 · CVE-2021-41089 · CVE-2021-41091 · CVE-2022-22442 · CVE-2022-23437 · CVE-2022-24769 · CVE-2022-30608 · CVE-2022-30615 · CVE-2022-31129 · CVE-2022-35642 · CVE-2022-35717 · CVE-2022-36109 · CVE-2022-40235 · CVE-2022-40747
openSUSE-SU-2021:3506-1: Security update for containerd, docker, runc
CVE-2021-30465 · CVE-2021-32760 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103
WID-SEC-W-2023-1124: docker: Mehrere Schwachstellen
CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092
ICSA-22-167-09: Siemens SCALANCE LPE9403 Third-Party Vulnerabilities
CVE-2020-27304 · CVE-2021-20317 · CVE-2021-33910 · CVE-2021-36221 · CVE-2021-39293 · CVE-2021-41089 · CVE-2021-41091 · CVE-2021-41092 · CVE-2021-41103 · CVE-2022-0847
- Source published
- Oct 4, 2021, 8:20:09 PM (timezone not stated)
- Source modified
- Aug 4, 2024, 2:59:31 AM (timezone not stated)
- Saved here
- 16 Nov 2026 01:39:34 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
nvd · CVE-2021-41091
PublishedMoby 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 per…
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-281 · CWE-732
Original publisher date fields
published: 2021-10-04T21:15:12.680
lastModified: 2026-06-17T04:07:51.413
3 source CPE criteria · context only
- cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 4 Oct 2021 21:15:12 UTC
- Source modified
- 17 Jun 2026 04:07:51 UTC
- Saved here
- 24 Oct 2026 19:17:25 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
CVSS 3.1 · [email protected] · Primary · 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
CVSS 2.0 · [email protected] · Primary · 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P
osv · GHSA-3fwx-pjgw-3558
PublishedMoby (Docker Engine) Insufficiently restricted permissions on data directory
## Impact 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. ## Patches 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. ## Workarounds Limit access to the host to trusted users. Limit access to host volumes to trusted containers. ## Credits The Moby project would like to thank Joan Bruguera for responsibly disclosing this issue in accordance with the [Moby security policy](https://github.com/moby/moby/blob/master/SECURITY.md). ## For more information If you have any questions or comments about this advisory: * [Open an issue](https://github.com/moby/moby/issues/new) * Email us at [email protected] if you think you’ve found a security bug
- Source published
- 31 Jan 2024 23:28:58 UTC
- Source modified
- 10 Sep 2026 03:50:04 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher rating · MODERATE
osv · GO-2024-2500
PublishedMoby (Docker Engine) Insufficiently restricted permissions on data directory in github.com/docker/docker
Moby (Docker Engine) Insufficiently restricted permissions on data directory in github.com/docker/docker
- Source published
- 28 Jun 2024 15:28:53 UTC
- Source modified
- 4 Feb 2026 03:22:20 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.