Live threats

All CVEs / Mobyproject

CVE-2021-41089Mobyproject Moby

Medium 6.3

Priority
38
CVSS 3.1
6.3
EPSS
0.3%
probability of exploitation in 30 days · percentile 23
Auth required
Yes
Published
Oct 4, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-281
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moby.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/docker/docker < 20.10.9 20.10.9 go get github.com/docker/docker@v20.10.9
Go github.com/docker/docker < 20.10.9+incompatible 20.10.9+incompatible go get github.com/docker/docker@v20.10.9+incompatible
Go github.com/moby/moby < 20.10.9+incompatible 20.10.9+incompatible go get github.com/moby/moby@v20.10.9+incompatible

Per OSV / GitHub Advisories (GHSA-v994-f8vw-g7j4, GO-2024-2913). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mobyprojectmoby< 20.10.9
fedoraprojectfedora34
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.