VDB
Sign up
LOW3.7

GHSA-9vp5-m38w-j776

Aliases are never checked in helm

Quick fix

GHSA-9vp5-m38w-j776 — helm.sh/helm/v3: upgrade to the fixed version with the command below.

go get helm.sh/helm/v3@v3.3.2

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/helm.sh/helm/v3
Introduced in: 3.0.0Fixed in: 3.3.2
Fixgo get helm.sh/helm/v3@v3.3.2
Go/helm.sh/helm
Introduced in: 0Fixed in: 2.16.11
Fixgo get helm.sh/helm@v2.16.11

References