kubectl cp allows symlink directory traversal (Kubernetes Kubernetes)

CVE-2019-11246
MEDIUM 6.4

En bref

Source
NVD
EPSS
EPSS 3.63 % · centile 90 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
kubernetes
Statut NVD
Modified

Description

The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes runs tar inside the container to create a tar archive, 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. Kubernetes affected versions include versions prior to 1.12.9, versions prior to 1.13.6, versions prior to 1.14.2, and versions 1.1, 1.2, 1.4, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11.

Faiblesses (CWE)

  • CWE-61 — UNIX Symbolic Link (Symlink) Following
  • CWE-22 — Traversée de répertoire

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:Hkubernetes
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NNVD · nvd@nist.gov (Primary)
CVSS 3.0MEDIUM 6.4CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:HNVD · jordan@liggitt.net (Secondary)
CVSS 2.0MEDIUM 4.3AV:N/AC:M/Au:N/C:N/I:P/A:NNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Kubernetes · Kubernetesaffected prior to 1.12.9 ; affected prior to 1.13.6 ; affected prior to 1.14.2 ; affected 1.1 ; affected 1.2 ; affected 1.4

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