CVE-2021-21303
CVE-2021-21303 · Injection attack in Helm
CVSS 5.9 · Medium · EPSS 1.1% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- helmNo fix published
- helm Alpine 3.17Update to 3.6.0-r0
- helm Alpine 3.18Update to 3.6.0-r0
- helm Alpine 3.19Update to 3.6.0-r0
- and 13 more
Check the installed version:
apk list -I -o helmAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Helm is open-source software which is essentially "The Kubernetes Package Manager". Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. In Helm from version 3.0 and before version 3.5.2, there a few cases where data loaded from potentially untrusted sources was not properly sanitized. When a SemVer in the `version` field of a chart is invalid, in some cases Helm allows the string to be used "as is" without sanitizing. Helm fails to properly sanitized some fields present on Helm repository `index.yaml` files. Helm does not properly sanitized some fields in the `plugin.yaml` file for plugins In some cases, Helm does not properly sanitize the fields in the `Chart.yaml` file. By exploiting these attack vectors, core maintainers were able to send deceptive information to a terminal screen running the `helm` command, as well as obscure or alter information on the screen. In some cases, we could send codes that terminals used to execute higher-order logic, like clearing a terminal screen. Further, during evaluation, the Helm maintainers discovered a few other fields that were not properly sanitized when read out of repository index files. This fix remedies all such cases, and once again enforces SemVer2 policies on version fields. All users of the Helm 3 should upgrade to the fixed version 3.5.2 or later. Those who use Helm as a library should verify that they either sanitize this data on their own, or use the proper Helm API calls to sanitize the data.
- Published
- Updated
Stack: system
Affected products and versions
helm
- Versions
- > 3.0, < 3.5.2: Affected
No fix published
helm Alpine 3.17
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.6.0-r0
Update to 3.6.0-r0
helm Alpine 3.18
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.6.0-r0
Update to 3.6.0-r0
helm Alpine 3.19
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.6.0-r0
Update to 3.6.0-r0
helm Alpine 3.20
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.6.0-r0
Update to 3.6.0-r0
helm Alpine 3.21
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.6.0-r0
Update to 3.6.0-r0
helm Alpine 3.22
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.6.0-r0
Update to 3.6.0-r0
helm Alpine 3.23
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.6.0-r0
Update to 3.6.0-r0
helm Alpine 3.24
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.6.0-r0
Update to 3.6.0-r0
helm Ubuntu 16.04 LTS
- Versions
- 1.9.1-1
- 1.9.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
helm Ubuntu 18.04 LTS
- Versions
- 2.8.2-1
- 2.8.5-1
- 2.8.6-1
- 2.8.7-1
- 2.8.8-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
helm Ubuntu 20.04 LTS
- Versions
- 3.2-1
- 3.5.0-3
- 3.6.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
helm Ubuntu 22.04 LTS
- Versions
- 3.7.0-2
- 3.8.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
helm Ubuntu 24.04 LTS
- Versions
- 3.8.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
helm Ubuntu 25.10
- Versions
- 3.8.4-2
- 4.0.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
helm Ubuntu 26.10
- Versions
- 4.0.6-3
- 4.0.7-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
helm Ubuntu 26.04 LTS
- Versions
- 4.0.3-1
- 4.0.6-1
- 4.0.6-2
- 4.0.6-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published