CVE-2019-11251CWE-61

kubectl cp allows symlink directory traversal

Medium · published February 3, 2020

CVSS v3.1
4.8
EPSS
3%
Percentile
85.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.02620 · 85.3th percentile
Weakness
CWE-61 · UNIX Symbolic Link (Symlink) Following
Published
2020-02-03T15:35Z
EPSS history
Timeline
  • 03 FEB 15:35Z
    kubectl cp allows symlink directory traversal
    cvelistv5