`docker cp` allows unexpected chmod of host files (moby moby)

CVE-2021-41089
LOW 2.8

En bref

Source
NVD
EPSS
EPSS 0.29 % · centile 22 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
GitHub_M
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-281 — Préservation incorrecte des permissions

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1LOW 2.8CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:NGitHub_M
CVSS 3.1LOW 2.8CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:NNVD · security-advisories@github.com (Secondary)
CVSS 3.1MEDIUM 6.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:LNVD · nvd@nist.gov (Primary)
CVSS 2.0MEDIUM 4.4AV:L/AC:M/Au:N/C:P/I:P/A:PNVD · nvd@nist.gov (Primary)

Avis

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
moby · mobyaffected < 20.10.9

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD