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 package | Versions | Reported 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.2 | CVE List, NVD |
| helm.sh/helm/v3 (Go) | from 3.0.0 before 3.3.2 | GitHub Advisory Database |
| helm.sh/helm (Go) | before 2.16.11 | GitHub Advisory Database |
| helm (Bitnami) | from 2.0.0 before 2.16.11, from 3.0.0 before 3.3.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 3.4low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N |
| GitHub | 3.4low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N |
| NVD | 2.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | low 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. 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". Este problema ha sido corregido en Helm versión 3.3.2. Una posible solución es no instalar plugins de Helm que no son de confianza. Examine el campo "name" en el archivo "plugin.yaml" en busca de un plugin, buscando caracteres fuera del rango [a-zA-Z0-9 ._-]
References
| https://github.com/helm/helm/security/advisories/GHSA-m54r-vrmv-hw33 | advisory, third-party-advisory, web | |
| https://github.com/helm/helm/commit/809e2d999e2c33e20e77f6bff30652d79c287542 | advisory, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-15186 | advisory, web | |
| https://github.com/helm/helm/commit/c8d6b01d72c9604e43ee70d0d78fadd54c2d8499 | web | |
| https://github.com/helm/helm | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-15186 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m54r-vrmv-hw33 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2020-15186 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-HELM-2020-15186 changed 2026-09-08 | Apache-2.0 |