Miggo Logo

CVE-2020-8570: Path Traversal in the Java Kubernetes Client

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.72941%
Published
1/29/2021
Updated
1/28/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
io.kubernetes:client-javamaven< 9.0.29.0.2
io.kubernetes:client-javamaven= 10.0.010.0.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Ku**rn*t*s J*v* *li*nt li*r*ri*s in v*rsion **.*.* *n* v*rsions prior to *.*.* *llow writ*s to p*t*s outsi** o* t** *urr*nt *ir**tory w**n *opyin* multipl* *il*s *rom * r*mot* po* w*i** s*n*s * m*li*iously *r**t** *r**iv*. T*is **n pot*nti*lly ov*rwr

Reasoning

T** vuln*r**ility st*ms *rom improp*r p*t* s*nitiz*tion w**n *xtr**tin* *r**iv* *ntri*s. T** pr*-p*t** *o** in `*opy.j*v*` (lin* ***) us** 'n*w *il*(**stin*tion.to*il*(), *ntry.**tN*m*())' wit*out `v*li**t*()`. T** *ix intro*u*** `*il*n*m*Utils.norm*