Lucene search

K
githubGitHub Advisory DatabaseGHSA-6QFG-8799-R575
HistoryMay 18, 2021 - 3:30 p.m.

Kubernetes kubectl cp Vulnerable to Symlink Attack

2021-05-1815:30:07
CWE-59
CWE-61
GitHub Advisory Database
github.com
16

0.001 Low

EPSS

Percentile

19.0%

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.