CVE-2021-20218
JSON

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 packageVersionsReported by
fabric8-kubernetes-clientkubernetes-client-4.2.0 and afterCVE 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.2GitHub Advisory Database
redhat kubernetes-clientfrom 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.2NVD
redhat a-mq_onlineNot specifiedNVD
redhat build_of_quarkusNot specifiedNVD
redhat codeready_studio12.0NVD
redhat descision_manager7.0NVD
redhat integration_camel_kNot specifiedNVD
redhat jboss_fuse7.0.0NVD
redhat openshift_container_platform3.11NVD
redhat process_automation7.0NVD

All scores

GitHub7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD5.8medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-20218 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-jwh2-ffg4-48xc changed 2023-11-08CC-BY-4.0
NVDCVE-2021-20218 changed 2026-06-17Public domain