Vulnerability · Published Jan 21, 2021 · Assigned by kubernetes
CVE-2020-8570Kubernetes Java client libraries unvalidated path traversal in Copy implementation
Critical 9.1
In plain English
A critical-severity security flaw in Kubernetes Java Client from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.7% (higher than 90% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.kubernetes:client-java | 9.0.2 | GHSA-cghx-9gcr-r42x |
| Maven | io.kubernetes:client-java | 10.0.1 | GHSA-cghx-9gcr-r42x |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Kubernetes Java Client | all versions prior to 9.09.0 – before 9.0.210.0 – before 10.0.1 |
Weakness: CWE-23
References
- https://groups.google.com/g/kubernetes-security-announce/c/sd5h73sFPrg x_refsource_MISC
- https://github.com/kubernetes-client/java/issues/1491 x_refsource_MISC
- [druid-commits] 20210201 [GitHub] [druid] jon-wei opened a new pull request #10826: Address CVE-2020-8570, suppress CVE-2020-8554 mailing-list, x_refsource_MLIST
- [druid-commits] 20210202 [GitHub] [druid] jon-wei opened a new pull request #10826: Address CVE-2020-8570, suppress CVE-2020-8554 mailing-list, x_refsource_MLIST
- [druid-commits] 20210203 [GitHub] [druid] jihoonson commented on pull request #10826: Address CVE-2020-8570, suppress CVE-2020-8554 mailing-list, x_refsource_MLIST
- [druid-commits] 20210203 [GitHub] [druid] jihoonson merged pull request #10826: Address CVE-2020-8570, suppress CVE-2020-8554 mailing-list, x_refsource_MLIST