Aliases are never checked in helm
Description
Published by the National Vulnerability Database
Sep 17, 2020
Reviewed
May 24, 2021
Published to the GitHub Advisory Database
May 24, 2021
Last updated
Oct 2, 2023
Impact
During a security audit of Helm's code base, security researchers at Trail of Bits identified a bug in which the
aliasfield on aChart.yamlis 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
dependenciesfield of any untrusted chart, verifying that thealiasfield is either not used, or (if used) does not contain newlines or path characters.References