Skip to content
CVE PROGRAM SOURCE RECORD4.8 Medium

CVE-2019-11251

kubectl cp allows symlink directory traversal

Description

The Kubernetes kubectl cp command in versions 1.1-1.12, and versions prior to 1.13.11, 1.14.7, and 1.15.4 allows a combination of two symlinks provided by tar output of a malicious container to place a file outside of the destination directory specified in the kubectl cp invocation. This could be used to allow an attacker to place a nefarious file using a symlink, outside of the destination tree.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Kubernetes Kubernetes

  • prior to 1.13.11affected
  • prior to 1.14.7affected
  • prior to 1.15.4affected
  • 1.1affected
  • 1.2affected
  • 1.3affected
  • 1.4affected
  • 1.5affected
  • 1.6affected
  • 1.7affected
  • 1.8affected
  • 1.9affected
  • 1.10affected
  • 1.11affected
  • 1.12affected

References