Vulnerability · Published Mar 16, 2021 · Assigned by redhat

CVE-2021-20218

High 7.4

In plain English

A high-severity path traversal in fabric8-kubernetes-client. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.4High
Exploit odds (30 days)1.3%top 29.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenio.fabric8:kubernetes-client4.7.2GHSA-jwh2-ffg4-48xc
Mavenio.fabric8:kubernetes-client4.11.2GHSA-jwh2-ffg4-48xc
Mavenio.fabric8:kubernetes-client4.13.2GHSA-jwh2-ffg4-48xc
Mavenio.fabric8:kubernetes-client5.0.2GHSA-jwh2-ffg4-48xc

Affected products (as reported)

VendorProductVersions
n/a fabric8-kubernetes-client kubernetes-client-4.2.0 and after

Weakness: CWE-22

References