CVE-2021-41089

`docker cp` allows unexpected chmod of host files

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.

Category

2.8
CVSS
Severity: Low
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.03%
Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org
Affected: moby moby
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-41089?
CVE-2021-41089 has been scored as a low severity vulnerability.
How to fix CVE-2021-41089?
To fix CVE-2021-41089, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-41089 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2021-41089 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-41089?
CVE-2021-41089 affects moby moby.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.