7.4high
Improper Limitation of a Pathname to a Restricted Directory in Fabric8 Kubernetes Client
- Severity
- 7.4high CVSS:3.1 by NVD
- Exploit likelihood
- 1.31% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-jwh2-ffg4-48xc
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
| Product or package | Versions | Reported by |
|---|---|---|
| fabric8-kubernetes-client | kubernetes-client-4.2.0 and after | CVE List |
| io.fabric8:kubernetes-client (Maven) | from 4.2.0 before 4.7.2, from 4.8.0 before 4.11.2, from 4.12.0 before 4.13.2, from 5.0.0 before 5.0.2 | GitHub Advisory Database |
| redhat kubernetes-client | from 4.2.0 before 4.7.2, from 4.8.0 before 4.11.2, from 4.12.0 before 4.13.2, from 5.0.0 before 5.0.2 | NVD |
| redhat a-mq_online | Not specified | NVD |
| redhat build_of_quarkus | Not specified | NVD |
| redhat codeready_studio | 12.0 | NVD |
| redhat descision_manager | 7.0 | NVD |
| redhat integration_camel_k | Not specified | NVD |
| redhat jboss_fuse | 7.0.0 | NVD |
| redhat openshift_container_platform | 3.11 | NVD |
| redhat process_automation | 7.0 | NVD |
All scores
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Classification
What each source says
CVE List
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
NVD (es)
Se encontró un fallo en fabric8 kubernetes-client en versión 4.2.0 y posteriores. Este fallo permite a un pod/container malicioso causar que unas aplicaciones que usan el comando "copy" de fabric8 kubernetes-client extraigan archivos fuera de la ruta de trabajo. La mayor amenaza de esta vulnerabilidad es la integridad y la disponibilidad del sistema. Esto ha sido corregido en kubernetes-client-4.13.2 kubernetes-client-5.0.2 kubernetes-client-4.11.2 kubernetes-client-4.7.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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20218 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jwh2-ffg4-48xc changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-20218 changed 2026-06-17 | Public domain |