CVE-2021-21303
CVE-2021-21303 — Injection attack in Helm
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…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
5.9
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.9 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-74
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
References
3 on the record
- github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx
x_refsource_CONFIRM
- github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a
x_refsource_MISC
- github.com/helm/helm/releases/tag/v3.5.2
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-20337 Cisco ISE API Unauthenticated Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-20281 Cisco ISE API Unauthenticated Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2023-22527 Atlassian Confluence Data Center and Server Template Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-46169 Unauthenticated Command InjectionCVSS 9.8 · CISA KEV
- CVE-2022-35914 Teclib GLPI Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-26134 Atlassian Confluence Server and Data Center Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.