GitHub Advisoryadvisory · Go

GHSA-v53g-5gjp-272r Helm dependency management path traversal

MEDIUM Published 2024-02-15 Modified 2024-02-15 Official page ↗
Aliases
CVE-2024-25620
Ecosystem
Go
Packages
helm.sh/helm/v3
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weaknesses
CWE-22, CWE-23
Reviewed
2024-02-15

Affected packages

• Go helm.sh/helm/v3: < 3.14.1 → fixed in 3.14.1

Description

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.

Related

Alias · CVE (1)

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-23 Relative Path Traversal weakness

References