CVE-2021-41091Insufficiently restricted permissions on data directory in Docker Engine
- 6.3MediumCVSS base score
- 2.8%Exploitation in 30 daysEPSS · top 13% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 19 days later
· 19 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | Medium6.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 2.8% · top 13% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/docker/dockerGHSA-3fwx-pjgw-3558 (opens in a new tab)
- Gogithub.com/moby/mobyGHSA-3fwx-pjgw-3558 (opens in a new tab)
References
References5
- https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2021-df975338d4 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-b5a9a481a2 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-0231 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3fwx-pjgw-3558 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-41091)Record last updated .