GHSA-9vp5-m38w-j776
Aliases are never checked in helm
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | helm.sh/helm/v3 | >= 3.0.0, < 3.3.2 | 3.3.2 |
| Go | helm.sh/helm | < 2.16.11 | 2.16.11 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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.
References
External links from the advisory. They lead to third-party sites.