Skip to content
OpenAdvisories
High · 7.4 CVE-2021-20218 EUVD-2022-4447GHSA-jwh2-ffg4-48xc

Improper Limitation of a Pathname to a Restricted Directory in Fabric8 Kubernetes Client

Published Mar 16, 2021 · Updated Aug 3, 2024 · Assigned by redhat

Description

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

Affected products

VendorProductAffectedFixed
— fabric8-kubernetes-client kubernetes-client-4.2.0 and after —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 cri-o 1.20.2-4.rhaos4.7.gitd5a999a.el7 RHSA-2021:1006
Red Hat OpenShift 4 jenkins-2-plugins 4.7.1616671397-1.el8 RHSA-2021:1006
Red Hat OpenShift 4 openshift-clients +1 4.7.0-202103251046.p0.git.3957.c4da68b.el7 RHSA-2021:1006

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.fabric8:kubernetes-client >= 4.2.0, < 4.7.2 4.7.2 GHSA-jwh2-ffg4-48xc
Maven io.fabric8:kubernetes-client >= 4.8.0, < 4.11.2 4.11.2 GHSA-jwh2-ffg4-48xc
Maven io.fabric8:kubernetes-client >= 4.12.0, < 4.13.2 4.13.2 GHSA-jwh2-ffg4-48xc
Maven io.fabric8:kubernetes-client >= 5.0.0, < 5.0.2 5.0.2 GHSA-jwh2-ffg4-48xc

Advisories 2

References