Directory Traversal Affecting openshift-clients package, versions <0:4.1.16-201909090609.git.0.2f97059.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.26% (67th 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-OPENSHIFTCLIENTS-3376672
  • published26 Mar 2023
  • disclosed5 Aug 2019

Introduced: 5 Aug 2019

CVE-2019-11249  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:7 openshift-clients to version 0:4.1.16-201909090609.git.0.2f97059.el7 or higher.
This issue was patched in RHBA-2019:2794.

NVD Description

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

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.

CVSS Scores

version 3.1