#VU85950 Path traversal in Java client for Kubernetes & OpenShift


Published: 2024-01-31

Vulnerability identifier: #VU85950

Vulnerability risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-20218

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Java client for Kubernetes & OpenShift
Client/Desktop applications / Software for system administration

Vendor:

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions


External links
http://bugzilla.redhat.com/show_bug.cgi?id=1923405
http://github.com/fabric8io/kubernetes-client/issues/2715


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability