6.3

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

Modified
AliasesUBUNTU-CVE-2021-41091DEBIAN-CVE-2021-41091CGA-2wg7-4prw-5xv3
Published 04-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-41091 is a medium (CVSS 6.3) Improper Preservation of Permissions vulnerability in fedoraproject fedora. EPSS estimates a 2.85% chance of exploitation in the next 30 days, higher than 86.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
2.85%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 11

Timeline

  1. 04-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 8 sources · 2 versions

EPSS trend

Probability

2.85%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.85% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard10 products
  • dockerAll versions (No fix recorded)
  • docker-config-mirror-gcrAll versions (No fix recorded)
  • docker-dindAll versions (No fix recorded)
  • docker-initAll versions (No fix recorded)
  • docker-machine-driver-harvester< 1.0.5-r0 | < 1.0.4-r1
Wolfi10 products
  • dockerAll versions (No fix recorded)
  • docker-config-mirror-gcrAll versions (No fix recorded)
  • docker-dindAll versions (No fix recorded)
  • docker-initAll versions (No fix recorded)
  • docker-machine-driver-harvester< 1.0.5-r0 | < 1.0.4-r1
Alpine1 product
  • docker< 20.10.9-r0
Debian1 product
  • docker.io< 20.10.10+dfsg1-1
Fedoraproject1 product
Github.com/docker1 product
  • docker< 20.10.9 | < 20.10.9+incompatible
Github.com/moby1 product
  • moby< 20.10.9 | < 20.10.9+incompatible
Moby1 product
Mobyproject1 product
Ubuntu1 product
  • docker.io< 20.10.7-0ubuntu5~18.04.2 | < 20.10.7-0ubuntu5~20.04.1 | < 20.10.7-0ubuntu5

10 vendors · 28 products

References

13 links
Show all 13 references