CVE-2024-25620: Helm dependency management path traversal
6.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.38508%
CWE
Published
2/15/2024
Updated
2/15/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| helm.sh/helm/v3 | go | <= 3.14.0 | 3.14.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from multiple functions handling chart names without proper path sanitization. Key issues were:
- SaveDir/writeTarContents used chart names directly in path construction
- Metadata validation didn't check for path components
- Linting rules allowed invalid names All were patched by adding filepath.Base() checks and name validation, as seen in the commit diffs. The functions directly processing chart names without sanitization were the root cause.