Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2021-41091: Insufficiently restricted permissions on data directory in Docker Engine

MediumCVSS 6.3 · v3.1—Proof of concept Fix available

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

Report tools

JSON

Action score

26

Monitor

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.

Follow CVE-2021-41091

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
mobyprojectmoby
fedoraprojectfedora

Using moby? Add it to your stack and be the first to know about CVEs like this one. (Docker)

Watch new CVEs for moby

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

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.

EcosystemPackageAffected rangeFix
Alpine:v3.14dockerbefore 20.10.9-r020.10.9-r0
Debian:12docker.iobefore 20.10.10+dfsg1-120.10.10+dfsg1-1
Gogithub.com/docker/dockerbefore 20.10.920.10.9
Gogithub.com/docker/dockerbefore 20.10.9+incompatible20.10.9+incompatible
Gogithub.com/moby/mobybefore 20.10.920.10.9
Gogithub.com/moby/mobybefore 20.10.9+incompatible20.10.9+incompatible
openSUSE:Leap 15.2containerdbefore 1.4.11-lp152.2.12.11.4.11-lp152.2.12.1
openSUSE:Leap 15.2dockerbefore 20.10.9_ce-lp152.2.18.120.10.9_ce-lp152.2.18.1
openSUSE:Leap 15.2runcbefore 1.0.2-lp152.2.9.11.0.2-lp152.2.9.1
openSUSE:Leap 15.3containerdbefore 1.4.12-60.11.4.12-60.1
openSUSE:Leap 15.3containerdbefore 1.4.11-56.11.4.11-56.1
openSUSE:Leap 15.3dockerbefore 20.10.12_ce-159.120.10.12_ce-159.1
openSUSE:Leap 15.3dockerbefore 20.10.9_ce-156.120.10.9_ce-156.1
openSUSE:Leap 15.3docker-kubicbefore 20.10.12_ce-159.120.10.12_ce-159.1
openSUSE:Leap 15.3docker-kubicbefore 20.10.9_ce-156.120.10.9_ce-156.1
openSUSE:Leap 15.3runcbefore 1.0.2-23.11.0.2-23.1
SUSE:Linux Enterprise Module for Containers 12containerdbefore 1.4.11-16.45.11.4.11-16.45.1
SUSE:Linux Enterprise Module for Containers 12containerdbefore 1.4.12-16.49.11.4.12-16.49.1
SUSE:Linux Enterprise Module for Containers 12dockerbefore 20.10.12_ce-98.75.120.10.12_ce-98.75.1
SUSE:Linux Enterprise Module for Containers 12dockerbefore 20.10.9_ce-98.72.120.10.9_ce-98.72.1
SUSE:Linux Enterprise Module for Containers 12runcbefore 1.0.2-16.14.11.0.2-16.14.1
SUSE:Linux Enterprise Module for Containers 15 SP2containerdbefore 1.4.11-56.11.4.11-56.1
SUSE:Linux Enterprise Module for Containers 15 SP2dockerbefore 20.10.9_ce-156.120.10.9_ce-156.1
SUSE:Linux Enterprise Module for Containers 15 SP2runcbefore 1.0.2-23.11.0.2-23.1

+2

Other highest-scoring records for the same primary product.

  • CVE-2023-28840moby/moby's dockerd daemon encrypted overlay network may be unauthenticated
    35Monitor
  • 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 poisoning
    31Monitor

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 files
    25Monitor
  • Later →CVE-2022-24769Mar 24, 2022 · Default inheritable capabilities for linux container should be empty
    23Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:docker20.10.9-r0 · Alpine:v3.14Package registry (OSV)
debian:docker.io20.10.10+dfsg1-1 · Debian:12Package registry (OSV)
Go:github.com/docker/docker20.10.9Package registry (OSV)
Go:github.com/docker/docker20.10.9+incompatiblePackage registry (OSV)
Go:github.com/moby/moby20.10.9Package registry (OSV)
Go:github.com/moby/moby20.10.9+incompatiblePackage registry (OSV)
opensuse:containerd1.4.11-lp152.2.12.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:docker20.10.9_ce-lp152.2.18.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:docker-kubic20.10.9_ce-156.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:runc1.0.2-lp152.2.9.1 · openSUSE:Leap 15.2Package registry (OSV)
suse:containerd1.4.11-16.45.1 · SUSE:Linux Enterprise Module for Containers 12Package registry (OSV)
suse:docker20.10.9_ce-98.72.1 · SUSE:Linux Enterprise Module for Containers 12Package registry (OSV)
suse:runc1.0.2-16.14.1 · SUSE:Linux Enterprise Module for Containers 12Package 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.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHub3 repositories2023-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.

  1. Published
  2. First PoC+574 d
  3. 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.

All national notices →

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

CVSS 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.

References

All records