Security mailing lists by PureSourceCode

CVE-2021-41089

MEDIUM 6.3CVSS 3.1

`docker cp` allows unexpected chmod of host files in Moby Docker Engine

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.

Published
4 Oct 2021
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-281
Also known as
GHSA-v994-f8vw-g7j4GO-2024-2913
Sources
NVDJSONOSV GHSA-v994-f8vw-g7j4JSONOSV GO-2024-2913JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 2.8 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 2.8 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mobyproject moby
cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*
< 20.10.9 20.10.9
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
OSV Go github.com/docker/docker < 20.10.9 20.10.9
OSV Go github.com/docker/docker < 20.10.9+incompatible 20.10.9+incompatible
OSV Go github.com/moby/moby < 20.10.9+incompatible 20.10.9+incompatible

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 4 Oct 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Jun 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.