kubectl cp path traversal (Kubernetes Kubernetes)

CVE-2019-1002101
MEDIUM 6.4

En bref

Source
NVD
EPSS
EPSS 12.80 % · centile 96 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
dwf
Statut NVD
Modified

Description

The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes creates a tar inside the container, copies it over the network, and kubectl unpacks it on the user’s machine. If the tar binary in the container is malicious, it could run any code and output unexpected, malicious results. An attacker could use this to write files to any path on the user’s machine when kubectl cp is called, limited only by the system permissions of the local user. The untar function can both create and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7, v1.13.5, and v1.14.0.

Faiblesses (CWE)

  • CWE-59 — Suivi de lien non maîtrisé

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.0MEDIUM 6.4CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:Hdwf
CVSS 3.0MEDIUM 6.4CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:HNVD · josh@bress.net (Secondary)
CVSS 3.0MEDIUM 5.5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NNVD · nvd@nist.gov (Primary)
CVSS 2.0MEDIUM 5.8AV:N/AC:M/Au:N/C:N/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
Kubernetes · Kubernetesaffected 1.1-1.10 ; affected 1.11 < 1.11.9 ; affected 1.12 < 1.12.7 ; affected 1.13 < 1.13.5

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