GHSA-m54r-vrmv-hw33
Improper Sanitizing of plugin names in helm
Quick fix
GHSA-m54r-vrmv-hw33 — helm.sh/helm/v3: upgrade to the fixed version with the command below.
go get helm.sh/helm/v3@v3.3.2Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/helm/helm/security/advisories/GHSA-m54r-vrmv-hw33[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2020-15186[ADVISORY]
- https://github.com/helm/helm/commit/809e2d999e2c33e20e77f6bff30652d79c287542[WEB]
- https://github.com/helm/helm/commit/c8d6b01d72c9604e43ee70d0d78fadd54c2d8499[WEB]
- https://github.com/helm/helm[PACKAGE]