Vulnerability · Published Feb 14, 2024 · Assigned by GitHub_M
CVE-2024-25620Dependency management path traversal in helm
Medium 6.4
In plain English
A medium-severity path traversal in helm from helm. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. When either the Helm client or SDK is used to save a chart whose name within the `Chart.yaml` file includes a relative path change, the chart would be saved outside its expected directory based on the changes in the relative path. The validation and linting did not detect the path changes in the name. This issue has been resolved in Helm v3.14.1. Users unable to upgrade should check all charts used by Helm for path changes in their name as found in the `Chart.yaml` file. This includes dependencies.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | helm.sh/helm/v3 | 3.14.1 | GHSA-v53g-5gjp-272r |
| Go | helm.sh/helm/v3 | 3.14.1 | GO-2024-2554 |
| Ubuntu:22.04:LTS | helm | no fix listed | UBUNTU-CVE-2024-25620 |
| Ubuntu:24.04:LTS | helm | no fix listed | UBUNTU-CVE-2024-25620 |
| Ubuntu:25.10 | helm | no fix listed | UBUNTU-CVE-2024-25620 |
| Ubuntu:26.04:LTS | helm | no fix listed | UBUNTU-CVE-2024-25620 |
| Ubuntu:26.10 | helm | no fix listed | UBUNTU-CVE-2024-25620 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
References
- https://github.com/helm/helm/security/advisories/GHSA-v53g-5gjp-272r x_refsource_CONFIRM
- https://github.com/helm/helm/commit/0d0f91d1ce277b2c8766cdc4c7aa04dbafbf2503 x_refsource_MISC