ADVISORIES

GitHub Advisory Database

GHSA-9vp5-m38w-j776

Aliases are never checked in helm

Details

Impact

During a security audit of Helm's code base, security researchers at Trail of Bits identified a bug in which the alias field on a Chart.yaml is not properly sanitized. This could lead to the injection of unwanted information into a chart.

Patches

This issue has been patched in Helm 3.3.2 and 2.16.11

Specific Go Packages Affected

helm.sh/helm/v3/pkg/chartutil

Workarounds

Manually review the dependencies field of any untrusted chart, verifying that the alias field is either not used, or (if used) does not contain newlines or path characters.

Affected packages

EcosystemPackageAffected versions
Gohelm.sh/helm/v3
From 3.0.0 before 3.3.2 (fixed in 3.3.2)
Gohelm.sh/helm
All versions before 2.16.11 (fixed in 2.16.11)

References