CVE-2020-15186 Improper sanitization of plugin names in Helm

Low 3.4 Published Updated

Malicious Helm plugin authors can spoof help output or duplicate names due to improper sanitization, requiring users to upgrade Helm.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-15186?

CVE-2020-15186 is a low-severity vulnerability in helm, published on 17 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In Helm before versions 2.16.11 and 3.3.2 plugin names are not sanitized properly. As a result, a malicious plugin author could use characters in a plugin name that would result in unexpected behavior, such as duplicating the name of another plugin or spoofing the output to `helm --help`. This issue has been patched in Helm 3.3.2. A possible workaround is to not install untrusted Helm plugins. Examine the `name` field in the `plugin.yaml` file for a plugin, looking for characters outside of the [a-zA-Z0-9._-] range.

Weakness: CWE-74, CWE-20

Which versions are affected by CVE-2020-15186?

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-15186?

Upgrade helm.sh/helm to 2.16.11 or later.

Is CVE-2020-15186 being exploited?

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

Sources

Also known as BIT-helm-2020-15186, GHSA-m54r-vrmv-hw33.

Is CVE-2020-15186 in your software?

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

Check your SBOMs for free