Directory Traversal Affecting atomic-openshift package, versions <0:3.10.181-1.git.0.3ab4b3d.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.19% (57th 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-ATOMICOPENSHIFT-5273460
  • 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 atomic-openshift to version 0:3.10.181-1.git.0.3ab4b3d.el7 or higher.
This issue was patched in RHSA-2019:3239.

NVD Description

Note: Versions mentioned in the description apply only to the upstream atomic-openshift package and not the atomic-openshift 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