CVE-2021-41091: Insufficiently restricted permissions on data directory in Docker Engine
Noroxi assessment
Priority: Monitor (action score 26/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.8% (FIRST EPSS); higher than 86.9% of all records.
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: docker (Alpine:v3.14) 20.10.9-r0; docker.io (Debian:12) 20.10.10+dfsg1-1; github.com/docker/docker (Go) 20.10.9, 20.10.9+incompatible.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to docker (Alpine:v3.14) 20.10.9-r0; docker.io (Debian:12) 20.10.10+dfsg1-1; github.com/docker/docker (Go) 20.10.9, 20.10.9+incompatible or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 4, 2021
- Updated
- Jun 17, 2026
- EPSS
- 2.8% · 86th percentile
- CWE
- CWE-281
Report tools
Action score
26
Low priority for now.
- CVSS
- 25 / 40 · 6.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.8%
CNA vs NVD score
- NVD
- 6.3
- CNA · GitHub_M
- 6.3
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| mobyproject | moby | cpe:2.3:a:mobyproject:moby |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Using moby? Add it to your stack and be the first to know about CVEs like this one. (Docker)
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
moby moby
- < 20.10.9affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora34
- fedoraproject fedora35
- mobyproject mobybefore 20.10.9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.14 | docker | before 20.10.9-r0 | 20.10.9-r0 |
| Debian:12 | docker.io | before 20.10.10+dfsg1-1 | 20.10.10+dfsg1-1 |
| Go | github.com/docker/docker | before 20.10.9 | 20.10.9 |
| Go | github.com/docker/docker | before 20.10.9+incompatible | 20.10.9+incompatible |
| Go | github.com/moby/moby | before 20.10.9 | 20.10.9 |
| Go | github.com/moby/moby | before 20.10.9+incompatible | 20.10.9+incompatible |
| openSUSE:Leap 15.2 | containerd | before 1.4.11-lp152.2.12.1 | 1.4.11-lp152.2.12.1 |
| openSUSE:Leap 15.2 | docker | before 20.10.9_ce-lp152.2.18.1 | 20.10.9_ce-lp152.2.18.1 |
| openSUSE:Leap 15.2 | runc | before 1.0.2-lp152.2.9.1 | 1.0.2-lp152.2.9.1 |
| openSUSE:Leap 15.3 | containerd | before 1.4.12-60.1 | 1.4.12-60.1 |
| openSUSE:Leap 15.3 | containerd | before 1.4.11-56.1 | 1.4.11-56.1 |
| openSUSE:Leap 15.3 | docker | before 20.10.12_ce-159.1 | 20.10.12_ce-159.1 |
| openSUSE:Leap 15.3 | docker | before 20.10.9_ce-156.1 | 20.10.9_ce-156.1 |
| openSUSE:Leap 15.3 | docker-kubic | before 20.10.12_ce-159.1 | 20.10.12_ce-159.1 |
| openSUSE:Leap 15.3 | docker-kubic | before 20.10.9_ce-156.1 | 20.10.9_ce-156.1 |
| openSUSE:Leap 15.3 | runc | before 1.0.2-23.1 | 1.0.2-23.1 |
| SUSE:Linux Enterprise Module for Containers 12 | containerd | before 1.4.11-16.45.1 | 1.4.11-16.45.1 |
| SUSE:Linux Enterprise Module for Containers 12 | containerd | before 1.4.12-16.49.1 | 1.4.12-16.49.1 |
| SUSE:Linux Enterprise Module for Containers 12 | docker | before 20.10.12_ce-98.75.1 | 20.10.12_ce-98.75.1 |
| SUSE:Linux Enterprise Module for Containers 12 | docker | before 20.10.9_ce-98.72.1 | 20.10.9_ce-98.72.1 |
| SUSE:Linux Enterprise Module for Containers 12 | runc | before 1.0.2-16.14.1 | 1.0.2-16.14.1 |
| SUSE:Linux Enterprise Module for Containers 15 SP2 | containerd | before 1.4.11-56.1 | 1.4.11-56.1 |
| SUSE:Linux Enterprise Module for Containers 15 SP2 | docker | before 20.10.9_ce-156.1 | 20.10.9_ce-156.1 |
| SUSE:Linux Enterprise Module for Containers 15 SP2 | runc | before 1.0.2-23.1 | 1.0.2-23.1 |
+2
Same product
mobyproject: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-28840moby/moby's dockerd daemon encrypted overlay network may be unauthenticated35Monitor
- CVE-2024-36623moby through v25.0.3 has a Race Condition vulnerability in the streamformatter package which can be used to trigger multiple concurrent…32Monitor
- CVE-2024-24557Moby classic builder cache poisoning31Monitor
Published before and after this one in the same product
- ← EarlierCVE-2018-12608Sep 10, 2018 · An issue was discovered in Docker Moby before 17.06.0.30Monitor
- ← EarlierCVE-2021-41089Oct 4, 2021 · `docker cp` allows unexpected chmod of host files25Monitor
- Later →CVE-2022-24769Mar 24, 2022 · Default inheritable capabilities for linux container should be empty23Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:docker | 20.10.9-r0 · Alpine:v3.14 | Package registry (OSV) |
| debian:docker.io | 20.10.10+dfsg1-1 · Debian:12 | Package registry (OSV) |
| Go:github.com/docker/docker | 20.10.9 | Package registry (OSV) |
| Go:github.com/docker/docker | 20.10.9+incompatible | Package registry (OSV) |
| Go:github.com/moby/moby | 20.10.9 | Package registry (OSV) |
| Go:github.com/moby/moby | 20.10.9+incompatible | Package registry (OSV) |
| opensuse:containerd | 1.4.11-lp152.2.12.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:docker | 20.10.9_ce-lp152.2.18.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:docker-kubic | 20.10.9_ce-156.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:runc | 1.0.2-lp152.2.9.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| suse:containerd | 1.4.11-16.45.1 · SUSE:Linux Enterprise Module for Containers 12 | Package registry (OSV) |
| suse:docker | 20.10.9_ce-98.72.1 · SUSE:Linux Enterprise Module for Containers 12 | Package registry (OSV) |
| suse:runc | 1.0.2-16.14.1 · SUSE:Linux Enterprise Module for Containers 12 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×3
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | 3 repositories | 2023-05-02 → 2024-06-30 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+574 d
- TodayNov 16, 2026+1869 d
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0433 · Jun 17, 2022(Siemens Endüstriyel Ürünler Zafiyeti)
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- low · the service can be disrupted
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- Low
Weakness class (CWE)
CWE-281 · Improper Preservation of PermissionsCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
- github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64
- github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.