Path traversal in Java client for Kubernetes & OpenShift - CVE-2021-20218

 

Path traversal in Java client for Kubernetes & OpenShift - CVE-2021-20218

Published: January 31, 2024


Vulnerability identifier: #VU85950
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-20218
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: fabric8io
Affected software:
Java client for Kubernetes & OpenShift

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to malicious pod/container can cause applications using the fabric8 kubernetes-client `copy` command to extract files outside the working path. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


How to mitigate CVE-2021-20218

Install update from vendor's website.

Sources