CVE-2020-15184 Aliases are never checked in Helm

Low 3.7 Published Updated

Attackers can inject unwanted information into Helm charts via unsanitized alias fields, potentially altering chart behavior or metadata.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-15184?

CVE-2020-15184 is a low-severity vulnerability in helm, published on 17 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Helm before versions 2.16.11 and 3.3.2 there is 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. This issue has been patched in Helm 3.3.2 and 2.16.11. A possible workaround is to 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.

Weakness: CWE-74, CWE-20

Which versions are affected by CVE-2020-15184?

5 open source packages ship an affected version, including helm.sh/helm, helm and helm.sh/helm/v3. It affects 1 product.

PackageAffectedFixed in
helm.sh/helm GoAll versions2.16.11
helm.sh/helm GoAll versions2.16.11
helm BitnamiFrom 2.0.02.16.11, 3.3.2
helm.sh/helm/v3 GoFrom 3.0.03.3.2
helm.sh/helm/v3 GoFrom 3.0.03.3.2

Products include Helm Helm.

How do I fix CVE-2020-15184?

Upgrade helm.sh/helm to 2.16.11 or later.

Is CVE-2020-15184 being exploited?

There is no known exploitation of CVE-2020-15184 in the wild and no public exploit code.

Sources

Also known as BIT-helm-2020-15184, GHSA-9vp5-m38w-j776.

Is CVE-2020-15184 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free