Link Following Affecting kubectl package, versions <0:1.12.10-1.0.10.el7


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.05% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE7-KUBECTL-2545861
  • published10 Apr 2022
  • disclosed3 Feb 2020

Introduced: 3 Feb 2020

CVE-2019-11251  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Oracle:7 kubectl to version 0:1.12.10-1.0.10.el7 or higher.
This issue was patched in ELSA-2019-4816.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kubectl package and not the kubectl package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1