CVE-2019-1002101: Kubernetes - Command Injection
- Cve: CVE-2019-1002101
- Name: Kubernetes - Command Injection
- Description: The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes creates a tar inside the container, copies it over the network, and kubectl unpacks it on the user’s machine. If the tar binary in the container is malicious, it could run any code and output unexpected, malicious results. An attacker could use this to write files to any path on the user’s machine when kubectl cp is called, limited only by the system permissions of the local user. The untar function can both create and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7, v1.13.5, and v1.14.0.
- Impact: Attackers can execute arbitrary code and write files to the user's machine, potentially leading to remote code execution and system compromise.
- Remediation: Update to kubectl v1.11.9, v1.12.7, v1.13.5, or v1.14.0 or later versions.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Epss score: 0.12802
- Epss percentile: 0.96357
- Assignee: [email protected]
- Published at: 2019-04-01T14:29:00Z
- Age in days: 2794
- Modified at: 2026-06-17T02:09:30Z
- Patch available: yes
- Public exploits total: 1
- References total: 11
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-1002101
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
Hackerone
- Reports: 4
- Rank: 1572
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/brompwnie/CVE-2019-1002101-Helpers | poc-in-github | 2019-04-03 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| kubernetes:kubernetes | = 1.14.0; >= 1.13.0, < 1.13.5; >= 1.12.0, < 1.12.7; >= 1.11.0, < 1.11.9 | no | nvd | /v1/products/kubernetes/kubernetes |
| redhat:openshift_container_platform | = 3.11, = 3.10, = 3.9 | no | nvd | /v1/products/redhat/openshift_container_platform |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| kubernetes/kubernetes | commit, pull | yes | /v1/repositories/kubernetes/kubernetes |
Index
- Repositories: 10
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-04-03
- Hackerone reports: 4
- Exposed hosts: 1656
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since