{"id":"CVE-2020-8570","aliases":["EUVD-2021-0501","GHSA-cghx-9gcr-r42x"],"status":"published","title":"Kubernetes Java client libraries unvalidated path traversal in Copy implementation","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.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.03688,"percentile":0.89769,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22","CWE-23"],"published":"2021-01-21T17:09:21Z","modified":"2026-10-20T10:54:38Z","exploits":[{"source":"pocgithub","id":"shoucheng3/kubernetes-client__java_CVE-2020-8570_client-java-parent-9_0_2_fixed","title":"shoucheng3/kubernetes-client__java_CVE-2020-8570_client-java-parent-9_0_2_fixed","date":"2025-09-06","url":"https://github.com/shoucheng3/kubernetes-client__java_CVE-2020-8570_client-java-parent-9_0_2_fixed"}],"fixes":[{"ecosystem":"Maven","package":"io.kubernetes:client-java","fixed_in":["9.0.2","10.0.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"io.kubernetes:client-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.2"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"io.kubernetes:client-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0"},{"last_affected":"10.0.0"},{"fixed":"10.0.1"}]}],"versions":["10.0.0"]},{"source":"osv","ecosystem":"Maven","package":"io.kubernetes:client-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.2"}]}],"versions":["0.1","0.2","1.0.0","1.0.0-beta1","1.0.0-beta2","1.0.0-beta3","1.0.0-beta4","2.0.0","2.0.0-beta1","2.0.0-beta2","3.0.0","3.0.0-beta1","3.0.0-beta2","4.0.0","4.0.0-beta1","5.0.0","6.0.1","7.0.0","8.0.0","8.0.0-alpha1","8.0.2","9.0.0","9.0.1"]},{"source":"osv","ecosystem":"Maven","package":"io.kubernetes:client-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0"},{"fixed":"10.0.1"}]}],"versions":["10.0.0"]}],"products":[{"vendor":"kubernetes","product":"java"},{"vendor":"kubernetes","product":"kubernetes java client"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/sd5h73sFPrg","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://github.com/kubernetes-client/java/issues/1491","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://lists.apache.org/thread.html/rcafa485d63550657f068775801aeb706b7a07140a8ebbdef822b3bb3%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r0c76b3d0be348f788cd947054141de0229af00c540564711e828fd40%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rdb223e1b82e3d7d8e4eaddce8dd1ab87252e3935cc41c859f49767b6%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r1975078e44d96f2a199aa90aa874b57a202eaf7f25f2fde6d1c44942%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8570","tags":["advisory"]},{"url":"https://github.com/kubernetes-client/java/pull/1450","tags":["web"]},{"url":"https://github.com/kubernetes-client/java/commit/858316ae8bc1145005a0310e1f65f95d2389a589","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rcafa485d63550657f068775801aeb706b7a07140a8ebbdef822b3bb3@%3Ccommits.druid.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r0c76b3d0be348f788cd947054141de0229af00c540564711e828fd40@%3Ccommits.druid.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r1975078e44d96f2a199aa90aa874b57a202eaf7f25f2fde6d1c44942@%3Ccommits.druid.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rdb223e1b82e3d7d8e4eaddce8dd1ab87252e3935cc41c859f49767b6@%3Ccommits.druid.apache.org%3E","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cghx-9gcr-r42x"},{"url":"https://github.com/kubernetes-client/java","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-8570","title":"Kubernetes Java client libraries unvalidated path traversal in Copy implementation","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.","status":"published","published":"2021-01-21T17:09:21.689Z","modified":"2024-09-16T22:01:55.884Z","cwes":["CWE-23"],"updated_at":"2026-11-02T14:35:50.88562Z"}],"euvd":[{"id":"EUVD-2021-0501","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.","status":"published","published":"2021-01-21T17:09:21Z","modified":"2024-09-16T22:01:55Z","updated_at":"2026-11-03T00:55:06.714252Z"}],"ghsa":[{"id":"GHSA-cghx-9gcr-r42x","title":"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.","status":"published","published":"2021-01-29T18:12:54Z","modified":"2023-01-28T05:05:15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:24.277749Z"}],"nvd":[{"id":"CVE-2020-8570","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.","status":"published","published":"2021-01-21T17:15:14.327Z","modified":"2026-06-17T03:26:34.343Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-23","CWE-22"],"updated_at":"2026-11-02T14:06:30.596418Z"}],"osv":[{"id":"CVE-2020-8570","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.","status":"published","published":"2021-01-21T17:15:14.327Z","modified":"2026-10-20T10:54:38.223164526Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:17.663289Z"},{"id":"GHSA-cghx-9gcr-r42x","title":"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.","status":"published","published":"2021-01-29T18:12:54Z","modified":"2023-11-08T04:04:17.485667Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:44.927642Z"}]}}
