CVE-2020-15186
JSON

3.4low

Improper sanitization of plugin names in Helm

Severity
3.4low CVSS:3.1 by GitHub_M
Exploit likelihood
0.96% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-m54r-vrmv-hw33BIT-HELM-2020-15186

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

Product or packageVersionsReported by
helm helm>= 2.0.0, < 2.16.11, >= 3.0.0, < 3.3.2, from 2.0.0 before 2.16.11, from 3.0.0 before 3.3.2CVE List, NVD
helm.sh/helm/v3 (Go)from 3.0.0 before 3.3.2GitHub Advisory Database
helm.sh/helm (Go)before 2.16.11GitHub Advisory Database
helm (Bitnami)from 2.0.0 before 2.16.11, from 3.0.0 before 3.3.2Bitnami Vulnerability Database

All scores

GitHub_M3.4low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N
GitHub3.4low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N
NVD2.7low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:N/I:P/A:N
Bitnami Vulnerability Databaselow rating

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

Security researchers at Trail of Bits discovered that 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.

Specific Go Packages Affected

helm.sh/helm/v3/pkg/plugin

Patches

This issue has been patched in Helm 3.3.2.

Workarounds

Do 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.

NVD (es)

En Helm versiones anteriores a 2.16.11 y 3.3.2, los nombres de los plugins no son saneados apropiadamente.&#xa0;Como resultado, un autor de plugin malicioso podría usar caracteres en un nombre de plugin que resultaría en un comportamiento inesperado, como duplicar el nombre de otro plugin o falsificar la salida en "helm --help".&#xa0;Este problema ha sido corregido en Helm versión 3.3.2.&#xa0;Una posible solución es no instalar plugins de Helm que no son de confianza.&#xa0;Examine el campo "name" en el archivo "plugin.yaml" en busca de un plugin, buscando caracteres fuera del rango [a-zA-Z0-9 ._-]

References

Sources

SourceRecordLicence
CVE ListCVE-2020-15186 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-m54r-vrmv-hw33 changed 2026-07-08CC-BY-4.0
NVDCVE-2020-15186 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-HELM-2020-15186 changed 2026-09-08Apache-2.0