k8s.io/kubernetes
Affected
- introduced
1.13.10, fixed1.13.11(semver)
Fixed versions
1.13.11
Fix
- Fixed version
1.13.11go get k8s.io/[email protected]
Advisory
Also known as: CVE-2019-11251, GO-2022-0802
Kubernetes kubectl cp Vulnerable to Symlink Attack
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.
Medium Basis: The source's own band: MODERATE
1.13.10, fixed 1.13.11 (semver)1.13.11
1.13.11go get k8s.io/[email protected]1.14.6, fixed 1.14.7 (semver)1.14.7
1.14.7go get k8s.io/[email protected]1.15.3, fixed 1.16.0 (semver)1.16.0
1.16.0go get k8s.io/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0