CVE-2024-25620
JSON

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 packageVersionsReported by
helm helm< 3.14.1, before 3.14.1CVE List, NVD
helm.sh/helm/v3 (Go)before 3.14.1GitHub Advisory Database, Go Vulnerability Database
helm (Bitnami)before 3.14.1Bitnami Vulnerability Database

All scores

GitHub_M6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
GitHub6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
NVD6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-22CWE-23

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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

Related

Sources

SourceRecordLicence
CVE ListCVE-2024-25620 changed 2024-08-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-v53g-5gjp-272r changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2554 changed 2026-02-04CC-BY-4.0
NVDCVE-2024-25620 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-HELM-2024-25620 changed 2026-09-08Apache-2.0