Advisory

GHSA-v53g-5gjp-272r

Also known as: BIT-helm-2024-25620, CVE-2024-25620, GO-2024-2554

Summary

Helm dependency management path traversal

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-02-15 15:34 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

helm.sh/helm/v3

Go · All systems

Affected

  • introduced 0, fixed 3.14.1 (semver)

Fixed versions

3.14.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences