Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. helm.sh/helm/v3
  4. ›
  5. CVE-2024-25620

CVE-2024-25620: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

February 15, 2024

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 does 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.

References

  • github.com/advisories/GHSA-v53g-5gjp-272r
  • github.com/helm/helm/commit/0d0f91d1ce277b2c8766cdc4c7aa04dbafbf2503
  • github.com/helm/helm/releases/tag/v3.14.1
  • github.com/helm/helm/security/advisories/GHSA-v53g-5gjp-272r
  • nvd.nist.gov/vuln/detail/CVE-2024-25620

Code Behaviors & Features

Detect and mitigate CVE-2024-25620 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.14.0

Fixed versions

  • v3.14.1

Solution

Upgrade to version 3.14.1 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/helm.sh/helm/v3/CVE-2024-25620.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 May 2025 12:14:07 +0000.