GHSA-v53g-5gjp-272r

Suggest an improvement
Source
https://github.com/advisories/GHSA-v53g-5gjp-272r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-v53g-5gjp-272r/GHSA-v53g-5gjp-272r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v53g-5gjp-272r
Aliases
Related
Published
2024-02-15T15:34:40Z
Modified
2024-04-01T07:26:39.344183Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2024-02-15T00:15:45Z",
    "cwe_ids": [
        "CWE-22",
        "CWE-23"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-02-15T15:34:40Z"
}
References

Affected packages

Go / helm.sh/helm/v3

Package

Name
helm.sh/helm/v3
View open source insights on deps.dev
Purl
pkg:golang/helm.sh/helm/v3

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.14.1

Database specific

{
    "last_known_affected_version_range": "<= 3.14.0"
}