CVE-2020-8570
Path Traversal in the Java Kubernetes Client
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.kubernetes » client-java | < 9.0.2>= 10.0.0, < 10.0.1 | 9.0.2, 10.0.1 |
Blast radius
33% of the dependent artifacts (118) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 11,959 |
| 2 hops | 4,943 |
| 3 hops | 2,422 |
| 4 hops | 863 |
| 5 hops | 210 |
Most used dependents
- com.squareup.misk » misk-testing59 usages
- com.squareup.misk » misk54 usages
- org.apache.pulsar » pulsar-broker49 usages
- io.kubernetes » client-java-extended49 usages
- io.lighty.core » lighty-controller36 usages
- com.gigaspaces » xap-admin20 usages
- org.hyperledger.besu.internal » api18 usages
- org.springframework.cloud » spring-cloud-starter-kubernetes-client-config18 usages
- io.kubernetes » client-java-spring-integration17 usages
- org.hyperledger.besu.internal » p2p15 usages
- org.hyperledger.besu.internal » eth14 usages
- com.squareup.misk » misk-hibernate14 usages
- org.apache.pulsar » pulsar-functions-instance13 usages
- org.hyperledger.besu.internal » blockcreation13 usages
- com.netflix.titus » titus-server-runtime13 usages
Computed from the dependency graph of build 20261201.0702 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2020-8570 | nvd.nist.gov |
| Package | kubernetes-client/java | github.com |
| Web | kubernetes-client/java issue #1491 | github.com |
| Web | kubernetes-client/java pull request #1450 | github.com |
| Web | kubernetes-client/java commit 858316a | github.com |
| Web | g/kubernetes-security-announce/c/sd5h73sFPrg | groups.google.com |
| Web | thread.html/r0c76b3d0be348f788cd947054141de0229af00c540564711e828fd40@<commits.druid.apach ... | lists.apache.org |
| Web | thread.html/r1975078e44d96f2a199aa90aa874b57a202eaf7f25f2fde6d1c44942@<commits.druid.apach ... | lists.apache.org |
| Web | thread.html/rcafa485d63550657f068775801aeb706b7a07140a8ebbdef822b3bb3@<commits.druid.apach ... | lists.apache.org |
| Web | thread.html/rdb223e1b82e3d7d8e4eaddce8dd1ab87252e3935cc41c859f49767b6@<commits.druid.apach ... | lists.apache.org |
