9.1crit

CVE-2020-8570

Kubernetes Java client libraries unvalidated path traversal in Copy implementation

Also known as GHSA-cghx-9gcr-r42x

Published 5 y ago · modified 4 mo ago · JSON

CVSS
9.1
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
3.7%
percentile 90%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

3.69% probability of exploitation in the next 30 days, higher than 90% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.19.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD2.06.4AV:N/AC:L/Au:N/C:N/I:P/A:P
GitHub3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
mavenio.kubernetes:client-java
<9.0.2
>=10.0.0, <10.0.1
9.0.2
10.0.1

Affected products

  • Kubernetes Kubernetes Java Client

Classification

Weakness
  • CWE-23 Relative Path Traversal
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

  • groups.google.com /g/kubernetes-security-announce/c/sd5h73sFPrg · x_refsource_MISC, x_transferred
  • github.com /kubernetes-client/java/issues/1491 · x_refsource_MISC, x_transferred
  • lists.apache.org /thread.html/rcafa485d63550657f068775801aeb706b7a07140a8ebbdef822b3bb3%40%3Ccommits.druid. · mailing-list, x_refsource_MLIST, x_transferred
  • lists.apache.org /thread.html/r0c76b3d0be348f788cd947054141de0229af00c540564711e828fd40%40%3Ccommits.druid. · mailing-list, x_refsource_MLIST, x_transferred
  • lists.apache.org /thread.html/rdb223e1b82e3d7d8e4eaddce8dd1ab87252e3935cc41c859f49767b6%40%3Ccommits.druid. · mailing-list, x_refsource_MLIST, x_transferred
  • lists.apache.org /thread.html/r1975078e44d96f2a199aa90aa874b57a202eaf7f25f2fde6d1c44942%40%3Ccommits.druid. · mailing-list, x_refsource_MLIST, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2020-8570 · advisory
  • github.com /kubernetes-client/java/pull/1450 · web
  • github.com /kubernetes-client/java/commit/858316ae8bc1145005a0310e1f65f95d2389a589 · web
  • github.com /kubernetes-client/java · package
  • lists.apache.org /thread.html/r0c76b3d0be348f788cd947054141de0229af00c540564711e828fd40@%3Ccommits.druid.ap · web
  • lists.apache.org /thread.html/r1975078e44d96f2a199aa90aa874b57a202eaf7f25f2fde6d1c44942@%3Ccommits.druid.ap · web
  • lists.apache.org /thread.html/rcafa485d63550657f068775801aeb706b7a07140a8ebbdef822b3bb3@%3Ccommits.druid.ap · web
  • lists.apache.org /thread.html/rdb223e1b82e3d7d8e4eaddce8dd1ab87252e3935cc41c859f49767b6@%3Ccommits.druid.ap · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.