CVE-2021-41089
Unexpected chmod of host files via 'docker cp' in Moby Docker Engine in github.com/docker/docker
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.
How to fix CVE-2021-41089
To remediate CVE-2021-41089, upgrade the affected package to a fixed version below.
- —upgrade to 20.10.5+dfsg1-1+deb11u1 or later
- —upgrade to 20.10.9 or later
- —upgrade to 20.10.9+incompatible or later
- —upgrade to 20.10.9+incompatible or later
Is CVE-2021-41089 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 20.10.5+dfsg1-1+deb11u1
- from 0, < 20.10.9
- from 0, < 20.10.9+incompatible
- from 0, < 20.10.9+incompatible
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW2.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N |