SecurityContext

CVE-2019-11249: Kubernetes - Command Injection

  • Cve: CVE-2019-11249
  • 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 runs tar inside the container to create a tar archive, 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. Kubernetes affected versions include versions prior to 1.13.9, versions prior to 1.14.5, versions prior to 1.15.2, and versions 1.1, 1.2, 1.4, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12.
  • Impact: Attackers can execute arbitrary code and write files to the user's machine, potentially leading to system compromise or data tampering.
  • Remediation: Update to Kubernetes version 1.13.9, 1.14.5, 1.15.2 or later versions where the issue is fixed.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution, file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Epss score: 0.03749
  • Epss percentile: 0.90154
  • Assignee: [email protected]
  • Published at: 2019-08-29T01:15:11Z
  • Age in days: 2644
  • Modified at: 2026-06-17T02:12:37Z
  • Patch available: yes
  • References total: 8
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-11249
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-61UNIX Symbolic Link (Symlink) Following
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Hackerone

  • Reports: 3
  • Rank: 1584

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/kubernetes/kubernetes/issues/80984Patch, Third Party Advisory
https://groups.google.com/d/msg/kubernetes-security-announce/vUtEcSEY6SM/v2ZZxsmtFQAJPatch, Third Party Advisory
https://access.redhat.com/errata/RHBA-2019:2794Third Party Advisory
https://access.redhat.com/errata/RHBA-2019:2816Third Party Advisory
https://access.redhat.com/errata/RHBA-2019:2824Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3239Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3811Third Party Advisory
https://security.netapp.com/advisory/ntap-20190919-0003/Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
kubernetes:kubernetes>= 1.15.0, < 1.15.2; >= 1.14.0, < 1.14.5; >= 1.13.0, < 1.13.9; = 1.12.11 beta0; >= 1.0.0, <= 1.12.10nonvd/v1/products/kubernetes/kubernetes
redhat:openshift_container_platform= 4.1, = 3.11, = 3.10, = 3.9nonvd/v1/products/redhat/openshift_container_platform

Projects

RepositoryLink kindsIndexedUrl
kubernetes/kubernetesissuesyes/v1/repositories/kubernetes/kubernetes

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Hackerone reports: 3
  • Exposed hosts: 1656
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since