6.3

CVE-2021-41089: `docker cp` allows unexpected chmod of host files

Modified
AliasesUBUNTU-CVE-2021-41089USN-5103-1DEBIAN-CVE-2021-41089
Published 04-10-2021Last modified 04-08-2024

Vulnerability summary

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

Priority
Routine

Not severe (CVSS 2.8, 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 (NVD)
EPSS score
0.29%
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 11 · Related 12

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 attempting to copy files using `docker cp` into a specially-crafted container can result in Unix file permission changes for existing files in the host’s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers do not need to be restarted.

CVSS metrics

9 scores · 8 sources · 2 versions

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.29% 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.

Chainguard8 products
  • docker< 28.0.2-r0
  • docker-config-mirror-gcr< 28.0.2-r0
  • docker-dind< 28.0.2-r0
  • docker-init< 28.0.2-r0
  • docker-oci-entrypoint< 28.0.2-r0
Wolfi8 products
  • docker< 28.0.2-r0
  • docker-config-mirror-gcr< 28.0.2-r0
  • docker-dind< 28.0.2-r0
  • docker-init< 28.0.2-r0
  • docker-oci-entrypoint< 28.0.2-r0
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+incompatible
Moby1 product
Mobyproject1 product
Opensuse1 product
  • docker&distro=openSUSE Tumbleweed< 20.10.9_ce-1.2
Ubuntu1 product
  • docker.io< 18.09.7-0ubuntu1~16.04.9+esm1 | < 20.10.7-0ubuntu1~18.04.2 | < 20.10.7-0ubuntu1~20.04.2 | < 20.10.7-0ubuntu7

11 vendors · 25 products

References

16 links
Show all 16 references