6.4medium
Dependency management path traversal in helm
- Severity
- 6.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.79% (higher than 53% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-v53g-5gjp-272rBIT-HELM-2024-25620GO-2024-2554
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
| Product or package | Versions | Reported by |
|---|---|---|
| helm helm | < 3.14.1, before 3.14.1 | CVE List, NVD |
| helm.sh/helm/v3 (Go) | before 3.14.1 | GitHub Advisory Database, Go Vulnerability Database |
| helm (Bitnami) | before 3.14.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
A Helm contributor discovered a path traversal vulnerability when Helm saves a chart including at download time.
Impact
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.
Patches
This issue has been resolved in Helm v3.14.1.
Workarounds
Check all charts used by Helm for path changes in their name as found in the Chart.yaml file. This includes dependencies.
Credits
Disclosed by Dominykas Blyžė at Nearform Ltd.
Go Vulnerability Database
Path traversal in helm.sh/helm/v3
NVD (es)
Helm es una herramienta para gestionar gráficos. Los gráficos son paquetes de recursos de Kubernetes preconfigurados. Cuando se utiliza el cliente Helm o el SDK para guardar un gráfico cuyo nombre dentro del archivo `Chart.yaml` incluye un cambio de ruta relativa, el gráfico se guardará fuera de su directorio esperado en función de los cambios en la ruta relativa. La validación y el linting no detectaron los cambios de ruta en el nombre. Este problema se resolvió en Helm v3.14.1. Los usuarios que no puedan actualizar deben verificar todos los gráficos utilizados por Helm en busca de cambios de ruta en su nombre, como se encuentra en el archivo `Chart.yaml`. Esto incluye dependencias.
References
| https://github.com/helm/helm/security/advisories/GHSA-v53g-5gjp-272r | advisory, vendor-advisory, web | |
| https://github.com/helm/helm/commit/0d0f91d1ce277b2c8766cdc4c7aa04dbafbf2503 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-25620 | advisory, web | |
| https://github.com/helm/helm | package | |
| https://github.com/helm/helm/releases/tag/v3.14.1 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-25620 changed 2024-08-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v53g-5gjp-272r changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2554 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2024-25620 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-HELM-2024-25620 changed 2026-09-08 | Apache-2.0 |