CVE-2020-8570 is a critical-severity (CVSS 9.1) CWE-23 vulnerability in io.kubernetes:client-java. A fix is available for io.kubernetes:client-java — see the affected versions and patch details below.
Path Traversal in the Java Kubernetes Client
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-8570 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
io.kubernetes:client-java☕io.kubernetes:client-javaReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | io.kubernetes:client-java | all versions | 9.0.2io.kubernetes:client-java:9.0.2 |
| ☕Maven | io.kubernetes:client-java | ≥ 10.0.0&&< 10.0.1 | 10.0.1io.kubernetes:client-java:10.0.1 |
Affected Products
javakubernetesDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.kubernetes:client-java, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update io.kubernetes:client-java to 9.0.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-8570 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2020-8570 in your dependencies?
Find it across Maven, including transitive dependencies.