SecurityContext

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

IdName
CWE-59Improper Link Resolution Before File Access

Hackerone

  • Reports: 4
  • Rank: 1572

Public exploits

UrlSourceAdded date
https://github.com/brompwnie/CVE-2019-1002101-Helperspoc-in-github2019-04-03

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/kubernetes/kubernetes/pull/75037Patch, Third Party Advisory
http://www.securityfocus.com/bid/107652Third Party Advisory, VDB Entry
https://access.redhat.com/security/cve/cve-2019-1002101Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/06/21/1
http://www.openwall.com/lists/oss-security/2019/08/05/5
https://access.redhat.com/errata/RHBA-2019:0619
https://access.redhat.com/errata/RHBA-2019:0620
https://access.redhat.com/errata/RHBA-2019:0636
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F/

Products

ProductAffectedPlatform boundSourcesUrl
kubernetes:kubernetes= 1.14.0; >= 1.13.0, < 1.13.5; >= 1.12.0, < 1.12.7; >= 1.11.0, < 1.11.9nonvd/v1/products/kubernetes/kubernetes
redhat:openshift_container_platform= 3.11, = 3.10, = 3.9nonvd/v1/products/redhat/openshift_container_platform

Projects

RepositoryLink kindsIndexedUrl
kubernetes/kubernetescommit, pullyes/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