Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cp
  4. ›
  5. CVE-2019-11251

CVE-2019-11251: Improper Link Resolution Before File Access

February 3, 2020 (updated February 6, 2020)

The Kubernetes kubectl cp command in versions 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2019-11251

Code Behaviors & Features

Detect and mitigate CVE-2019-11251 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 1.1-1.12, all versions starting from 1.13.0 before 1.13.11, all versions starting from 1.14.0 before 1.14.7, all versions starting from 1.15.0 before 1.15.4

Fixed versions

  • 1.1.2-beta.0
  • 1.13.11
  • 1.14.7
  • 1.15.4

Solution

Upgrade to versions 1.1.2-beta.0, 1.13.11, 1.14.7, 1.15.4 or above.

Impact 5.7 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

go/github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cp/CVE-2019-11251.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:44 +0000.