CVE-2019-11251 kubectl cp allows symlink directory traversal
MediumCVSS 5.7
EPSS 2.6%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- KubernetesUbuntuDebian
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.
Upgrade path
5 packages: 2 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/kubernetes(Ubuntu 22.04) | = 1.0; All versions | No fix listed | No fix yet |
| ubuntu/kubernetes(Ubuntu 24.04) | = 1.0; All versions | No fix listed | No fix yet |
| ubuntu/kubernetes(Ubuntu Pro 20.04) | = 1.0; All versions | No fix listed | No fix yet |
| Kubernetes | = 1.1; = 1.1-1.12; = 1.2; = 1.3 +15 more | 1.13.11, 1.14.7, 1.15.4 | Fixed |
| Kubernetes(Go) | >= 1.13.10, < 1.13.11; >= 1.14.6, < 1.14.7; >= 1.15.3, < 1.16.0 | 1.13.11, 1.14.7, 1.16.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Kubernetes(Go) | >= 1.13.10, < 1.13.11 | 1.13.11 |
| Kubernetes(Go) | >= 1.14.6, < 1.14.7 | 1.14.7 |
| Kubernetes(Go) | >= 1.15.3, < 1.16.0 | 1.16.0 |
| Kubernetes | >= 1.13.0, < 1.13.11 | 1.13.11 |
| Kubernetes | >= 1.14.0, < 1.14.7 | 1.14.7 |
| Kubernetes | >= 1.15.0, < 1.15.4 | 1.15.4 |
| Kubernetes | = 1.1-1.12 | No fix listed |
| Kubernetes | = prior to 1.13.11 | No fix listed |
| Kubernetes | = prior to 1.14.7 | No fix listed |
| Kubernetes | = prior to 1.15.4 | No fix listed |
| Kubernetes | = 1.1 | No fix listed |
| Kubernetes | = 1.2 | No fix listed |
| Kubernetes | = 1.3 | No fix listed |
| Kubernetes | = 1.4 | No fix listed |
| Kubernetes | = 1.5 | No fix listed |
| Kubernetes | = 1.6 | No fix listed |
| Kubernetes | = 1.7 | No fix listed |
| Kubernetes | = 1.8 | No fix listed |
| Kubernetes | = 1.9 | No fix listed |
| Kubernetes | = 1.10 | No fix listed |
| Kubernetes | = 1.11 | No fix listed |
| Kubernetes | = 1.12 | No fix listed |
| ubuntu/kubernetes(Ubuntu:Pro:20.04) | All versions | No fix listed |
| ubuntu/kubernetes(Ubuntu:Pro:20.04) | = 1.0 | No fix listed |
| ubuntu/kubernetes(Ubuntu:22.04) | All versions | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/kubernetes(Ubuntu:22.04) | = 1.0 | No fix listed |
| ubuntu/kubernetes(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/kubernetes(Ubuntu:24.04) | = 1.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- CVE-2019-11251 third-party-advisory vendor-advisory
- github.com patch
- Security release of kubectl versions v1.16.0 / 1.15.4 / 1.14.7 and 1.13.11 - CVE-2019-11251 mailing-list third-party-advisory
- github.com vendor-advisory
- Debian Security Tracker CVE-2019-11251 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking