CVE-2024-25620: Dependency management path traversal in helm

Published Feb 14, 2024
·
Updated

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.

Other sources

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.

NVD

Affected Software

3 affected componentsFixes available
go/helm.sh/helm/v3<=3.14.0
3.14.1
Helm helm<3.14.1
redhat/helm<3.14.1
3.14.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/helm.sh/helm/v3 to a version that resolves this vulnerability.

    Fixed in 3.14.1
  2. Upgrade

    Upgrade redhat/helm to a version that resolves this vulnerability.

    Fixed in 3.14.1
  3. Upgrade

    Upgrade helm/helm to a version that resolves this vulnerability.

    Fixed in v3.14.1
  4. Configuration

    Check all charts used by Helm (including dependencies) and update each chart's `Chart.yaml` `name` field to remove any relative path changes; the issue occurs when the chart name includes a relative path change and Helm saves the chart outside the expected directory.

    Helm charts (Chart.yaml) name field = no relative path changes (e.g., do not include ../ or other relative path segments)

Event History

Feb 14, 2024
CVE Published
via MITRE·11:24 PM
Data Sourced
via MITRE·11:24 PM
DescriptionSeverityWeakness
Feb 15, 2024
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 AM
RemedyAffected Software
Data Sourced
via Red Hat·05:06 AM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·03:34 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-25620?

CVE-2024-25620 is classified as a medium severity vulnerability.

2

How do I fix CVE-2024-25620?

To fix CVE-2024-25620, update Helm to version 3.14.1 or later.

3

What is the impact of CVE-2024-25620?

The impact of CVE-2024-25620 is that it allows path traversal when saving a chart with a relative path in the Chart.yaml file.

4

Which versions of Helm are affected by CVE-2024-25620?

Versions of Helm prior to 3.14.1 are affected by CVE-2024-25620.

5

Is CVE-2024-25620 related to the Helm client or SDK?

Yes, CVE-2024-25620 affects the Helm client and SDK when saving charts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203