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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.fabric8:kubernetes-client | 4.7.2 | GHSA-jwh2-ffg4-48xc |
| Maven | io.fabric8:kubernetes-client | 4.11.2 | GHSA-jwh2-ffg4-48xc |
| Maven | io.fabric8:kubernetes-client | 4.13.2 | GHSA-jwh2-ffg4-48xc |
| Maven | io.fabric8:kubernetes-client | 5.0.2 | GHSA-jwh2-ffg4-48xc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | fabric8-kubernetes-client | kubernetes-client-4.2.0 and after |
Weakness: CWE-22
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1923405 x_refsource_MISC
- https://github.com/fabric8io/kubernetes-client/issues/2715 x_refsource_MISC