Skip to main content
No exploitation reportedFix available

CVE-2021-41089

No exploitation reported by the sources we read.

  • Published2021-10-04
  • WeaknessCWE-281

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-10-0421:15CVE publishedNVD

Versions per branch

NVD · OSV
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published
Mobyproject moby
BranchAffectedFixed in
20.10< 20.10.920.10.9
20.10< 20.10.9+incompatible20.10.9+incompatible

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • containerdSUSE:Linux Enterprise Server for SAP Applications 15 SP1all versions · fixed in 1.4.11-56.1
  • containerdSUSE:Linux Enterprise Server for SAP Applications 15all versions · fixed in 1.4.11-56.1
  • containerdSUSE:Linux Enterprise Server 15-LTSSall versions · fixed in 1.4.11-56.1
  • containerdSUSE:Linux Enterprise Server 15 SP1-LTSSall versions · fixed in 1.4.11-56.1
  • containerdSUSE:Linux Enterprise Server 15 SP1-BCLall versions · fixed in 1.4.11-56.1
  • containerdSUSE:Linux Enterprise Module for Containers 15 SP3all versions · fixed in 1.4.11-56.1
  • containerdSUSE:Linux Enterprise Module for Containers 15 SP3all versions · fixed in 1.4.12-60.1
  • containerdSUSE:Linux Enterprise Module for Containers 15 SP2all versions · fixed in 1.4.11-56.1

98 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-41089 Red Hat Product Security1 product fixed · 8 known affected

    moby: `docker cp` allows unexpected chmod of host file

    rhacm-assisted-service-container as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · rhacm2/multicluster-operators-subscription-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · docker.src as a component of Red Hat Enterprise Linux 7 · +5 more

  • RHSA-2022:0735 Red Hat Product Security221 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.2 security updates and bug fixes

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2022:0735 · 221 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.4/html-single/install/index#instal…
  2. Vendor fix Red Hat Product Security CVE-2021-41089 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. No fix available, says the vendor Red Hat Product Security CVE-2021-41089 · 3 productsFix deferred
  4. No fix available, says the vendor Red Hat Product Security CVE-2021-41089 · 3 productsAffected
  5. No fix planned, says the vendor Red Hat Product Security CVE-2021-41089 · 2 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.12.8known since 2026-10-23
  • NVDCVSS 3.16.3read 2026-10-23
  • NVDCVSS 2.04.4read 2026-10-23
  • CNAweakness (CWE)CWE-281known since 2026-10-23
  • NVDweakness (CWE)CWE-281read 2026-10-23
  • FIRST EPSSEPSS score0.3 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryLOW2024-06-10

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Published
2021-10-04
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-v994-f8vw-g7j4

Frequently asked questions

What is CVE-2021-41089?

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.

Is CVE-2021-41089 actively exploited?

Active exploitation of CVE-2021-41089 has not been confirmed. Its EPSS score was 0.3% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-41089?

CVE-2021-41089 has a CVSS v3 base score of 6.3 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L.

Running docker/docker? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record