Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2020-8570 EUVD-2021-0501GHSA-cghx-9gcr-r42x

Kubernetes Java client libraries unvalidated path traversal in Copy implementation

Published Jan 21, 2021 · Updated Sep 16, 2024 · Assigned by kubernetes

Description

Kubernetes Java client libraries in version 10.0.0 and versions prior to 9.0.1 allow writes to paths outside of the current directory when copying multiple files from a remote pod which sends a maliciously crafted archive. This can potentially overwrite any files on the system of the process executing the client code.

Affected products

VendorProductAffectedFixed
Kubernetes Kubernetes Java Client all versions prior to 9.0, 9.0 – < 9.0.2, 10.0 – < 10.0.1 9.0.2

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.kubernetes:client-java < 9.0.2 9.0.2 GHSA-cghx-9gcr-r42x
Maven io.kubernetes:client-java >= 10.0.0, < 10.0.1 10.0.1 GHSA-cghx-9gcr-r42x

References