Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. k8s.io/kubernetes
  4. ›
  5. CVE-2019-11251

CVE-2019-11251: Improper Link Resolution Before File Access ('Link Following')

May 18, 2021 (updated September 18, 2023)

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.

References

  • github.com/advisories/GHSA-6qfg-8799-r575
  • github.com/kubernetes/kubernetes/issues/87773
  • github.com/kubernetes/kubernetes/pull/82143
  • groups.google.com/d/msg/kubernetes-announce/YYtEFdFimZ4/nZnOezZuBgAJ
  • 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. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.13.10 before 1.13.11, all versions starting from 1.14.6 before 1.14.7, all versions starting from 1.15.3 before 1.16.0

Fixed versions

  • 1.13.11
  • 1.14.7
  • 1.16.0

Solution

Upgrade to versions 1.13.11, 1.14.7, 1.16.0 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/k8s.io/kubernetes/CVE-2019-11251.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:02 +0000.