Skip to content
OpenAdvisories
Low · 3.4 CVE-2020-15186 BIT-helm-2020-15186EUVD-2021-1132GHSA-m54r-vrmv-hw33

Improper sanitization of plugin names in Helm

Published Sep 17, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
helm helm >= 2.0.0, < 2.16.11, >= 3.0.0, < 3.3.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP1 kubernetes 1.17.13-4.21.2 SUSE-SU-2020:3760-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go helm.sh/helm < 2.16.11 2.16.11 GHSA-m54r-vrmv-hw33
Go helm.sh/helm/v3 >= 3.0.0, < 3.3.2 3.3.2 GHSA-m54r-vrmv-hw33

Advisories 1

References