Skip to main content
← All vulnerabilities
CVE-2021-41089GO-2024-2913GHSA-V994-F8VW-G7J4

`docker cp` allows unexpected chmod of host files

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 20.10.9, 20.10.9+incompatible
None on Exploit-DB, Metasploit or GitHub

Summary

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

  1. CVE published
  2. Record last updated

Affected versions

  • moby moby

    fixed in 20.10.9

  • github.com/docker/dockerGo

    fixed in 20.10.9+incompatible

  • github.com/moby/mobyGo

    fixed in 20.10.9+incompatible

  • github.com/docker/dockerGo

    fixed in 20.10.9

References 5

GitHub · moby/moby

lists.fedoraproject.org

cert-portal.siemens.com