CVE-2020-8570: Path Traversal in the Java Kubernetes Client
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.72941%
CWE
Published
1/29/2021
Updated
1/28/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
io.kubernetes:client-java | maven | < 9.0.2 | 9.0.2 |
io.kubernetes:client-java | maven | = 10.0.0 | 10.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper path sanitization when extracting archive entries. The pre-patch code in Copy.java
(line 174) used 'new File(destination.toFile(), entry.getName())' without validate()
. The fix introduced FilenameUtils.normalize()
to sanitize paths, confirming the absence of this normalization was the root cause. The commit diff and CVE description explicitly reference this as the patched vulnerability vector.