Directory Traversal Affecting openshift-clients package, versions <0:4.7.0-202103251046.p0.git.3957.c4da68b.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.31% (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 IDSNYK-RHEL7-OPENSHIFTCLIENTS-5248692
  • published26 Mar 2023
  • disclosed12 Jan 2021

Introduced: 12 Jan 2021

CVE-2021-20218  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:7 openshift-clients to version 0:4.7.0-202103251046.p0.git.3957.c4da68b.el7 or higher.
This issue was patched in RHSA-2021:1006.

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.

A flaw was found in the fabric8 kubernetes-client in version 4.2.0 and after. This flaw allows a malicious pod/container to cause applications using the fabric8 kubernetes-client copy command to extract files outside the working path. The highest threat from this vulnerability is to integrity and system availability. This has been fixed in kubernetes-client-4.13.2 kubernetes-client-5.0.2 kubernetes-client-4.11.2 kubernetes-client-4.7.2

CVSS Base Scores

version 3.1