CVE-2021-20218
HIGH 7.4CVSS 3.1Improper Limitation of a Pathname to a Restricted Directory in Fabric8 Kubernetes Client
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
- Published
- 16 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-jwh2-ffg4-48xc
- Sources
- NVDJSONOSV GHSA-jwh2-ffg4-48xcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | kubernetes-clientcpe:2.3:a:redhat:kubernetes-client:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.7.2 | 4.7.2 |
| NVD | redhat | kubernetes-clientcpe:2.3:a:redhat:kubernetes-client:*:*:*:*:*:*:*:* |
>= 4.8.0, < 4.11.2 | 4.11.2 |
| NVD | redhat | kubernetes-clientcpe:2.3:a:redhat:kubernetes-client:*:*:*:*:*:*:*:* |
>= 4.12.0, < 4.13.2 | 4.13.2 |
| NVD | redhat | kubernetes-clientcpe:2.3:a:redhat:kubernetes-client:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.2 | 5.0.2 |
| NVD | redhat | a-mq_onlinecpe:2.3:a:redhat:a-mq_online:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | build_of_quarkuscpe:2.3:a:redhat:build_of_quarkus:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | codeready_studiocpe:2.3:a:redhat:codeready_studio:12.0:*:*:*:*:*:*:* |
= 12.0 | |
| NVD | redhat | descision_managercpe:2.3:a:redhat:descision_manager:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | integration_camel_kcpe:2.3:a:redhat:integration_camel_k:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | jboss_fusecpe:2.3:a:redhat:jboss_fuse:7.0.0:*:*:*:*:*:*:* |
= 7.0.0 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:* |
= 3.11 | |
| NVD | redhat | process_automationcpe:2.3:a:redhat:process_automation:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | Maven | io.fabric8:kubernetes-client | >= 4.2.0, < 4.7.2 | 4.7.2 |
| OSV | Maven | io.fabric8:kubernetes-client | >= 4.8.0, < 4.11.2 | 4.11.2 |
| OSV | Maven | io.fabric8:kubernetes-client | >= 4.12.0, < 4.13.2 | 4.13.2 |
| OSV | Maven | io.fabric8:kubernetes-client | >= 5.0.0, < 5.0.2 | 5.0.2 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1923405 · Issue Tracking, Vendor Advisory, WEB
- https://github.com/fabric8io/kubernetes-client/issues/2715 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-20218 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 16 Mar 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)