{"id":"GHSA-c38g-469g-cmgx","revision":null,"records":[{"revision":"827cb8865d5c478fb81a1c245638e2b6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-21303","aliases":[],"title":"Injection attack in Helm","description":"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.","state":0,"publishedAt":"2021-02-05T21:40:14+00:00","modifiedAt":"2024-08-03T18:09:15.134+00:00","affected":[{"ecosystem":"Vendor product","name":"helm","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"helm\",\n                    \"vendor\": \"helm\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"> 3.0, < 3.5.2\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx","https://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a","https://github.com/helm/helm/releases/tag/v3.5.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-21303","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-21303","identifiers":["CVE-2021-21303"]},"retained":false,"historicalAffected":[]},{"revision":"ad79916c43454bc8b7cb0c23c6e53b52","observedAt":"2026-11-24T03:30:44.333+00:00","statement":{"source":"euvd","id":"EUVD-2021-1306","aliases":["CVE-2021-21303","GHSA-c38g-469g-cmgx"],"title":"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 f…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","score":5.9,"severity":null}],"references":["https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx","https://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a","https://github.com/helm/helm/releases/tag/v3.5.2"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1306","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 5, 2021, 9:40:14 PM","dateUpdated":"Aug 3, 2024, 6:09:15 PM"},"relatedAdvisories":[{"id":"WID-SEC-W-2022-2339","title":"IBM DB2: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2016-1000023","CVE-2021-21303","CVE-2021-32690","CVE-2022-27664","CVE-2022-28131","CVE-2022-29526","CVE-2022-30633","CVE-2022-3172","CVE-2022-36055","CVE-2022-41296","CVE-2022-41297"]},{"id":"msrc_CVE-2021-21303","title":"Injection attack in Helm","vulnerabilityIds":["CVE-2021-21303"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-1306","identifiers":["EUVD-2021-1306","CVE-2021-21303","GHSA-c38g-469g-cmgx"]},"retained":false,"historicalAffected":[]},{"revision":"424a28c38ae24256bbc4d837f5c3e200","observedAt":"2026-10-24T17:17:33.481+00:00","statement":{"source":"nvd","id":"CVE-2021-21303","aliases":[],"title":"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 f…","description":"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.","state":0,"publishedAt":"2021-02-05T22:15:12.64+00:00","modifiedAt":"2026-06-17T03:35:15.167+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","score":5.9,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","score":6.8,"severity":"MEDIUM"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"severity":"LOW"}],"references":["https://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a","https://github.com/helm/helm/releases/tag/v3.5.2","https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-21303","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-74"],"productCriteria":["cpe:2.3:a:helm:helm:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2021-02-05T22:15:12.640","lastModified":"2026-06-17T03:35:15.167"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-21303","identifiers":["CVE-2021-21303"]},"retained":false,"historicalAffected":[]},{"revision":"ab6d98e6d3e941ffbd7636535a430e58","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-c38g-469g-cmgx","aliases":["BIT-helm-2021-21303","CVE-2021-21303","GO-2022-1040"],"title":"Improper Neutralization of Special Elements in Output in helm.sh/helm/v3","description":"\nSince Helm 2 was released, a well-documented aspect of Helm is that the Helm chart's version number MUST follow the SemVer2 specification. In the past, Helm would not permit charts with malformed versions. At some point, a patch was merged that changed this - On a version parse error, the version number was simply passed along as-is. This provided a vector for malicious data to be injected into Helm and potentially used in various ways.\n\nCore 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.\n\nFurther, 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.\n\nAll users of the Helm 3 should upgrade.\n\nThose 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.\n\n### Patches\nThis issue has been resolved in Helm 3.5.2.\n\nWhile this fix does not constitute a breaking change, as all field formatting is now enforced as documented, it is possible that charts that were mistakenly allowed (but invalid) may no longer be available in search indexes. Specifically, **malformed SemVer versions are no longer supported**. This has always been the documented case, but it is true that malformed versions were allowed.\n\nNote that this is the first security release since Helm 2's final deprecation. Helm 2 was not audited for vulnerability to this issue, and should be assumed vulnerable.","state":0,"publishedAt":"2021-06-23T18:14:40+00:00","modifiedAt":"2026-07-08T06:27:57.1571201+00:00","affected":[{"ecosystem":"Go","name":"helm.sh/helm/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"3.5.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx","https://nvd.nist.gov/vuln/detail/CVE-2021-21303","https://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a","https://github.com/advisories/GHSA-c38g-469g-cmgx","https://github.com/helm/helm","https://github.com/helm/helm/releases/tag/v3.5.2","https://pkg.go.dev/vuln/GO-2022-1040"],"sourceUrl":"https://github.com/advisories/GHSA-c38g-469g-cmgx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-c38g-469g-cmgx","identifiers":["GHSA-c38g-469g-cmgx","BIT-helm-2021-21303","CVE-2021-21303","GO-2022-1040"]},"retained":false,"historicalAffected":[]},{"revision":"c527117767344af8a0e8677618118931","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-1040","aliases":["BIT-helm-2021-21303","CVE-2021-21303","GHSA-c38g-469g-cmgx"],"title":"Insufficient sanitization of data files in helm.sh/helm/v3","description":"Helm does not sanitize all fields read from repository data files. A maliciously crafted data file may contain strings containing arbitrary data. If printed to a terminal, a malicious string could obscure or alter data on the screen.","state":0,"publishedAt":"2022-10-18T15:14:31+00:00","modifiedAt":"2024-05-20T16:03:47+00:00","affected":[{"ecosystem":"Go","name":"helm.sh/helm/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"3.5.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-c38g-469g-cmgx","https://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-1040","license":"OSV · upstream source license applies","key":"osv:GO-2022-1040","identifiers":["GO-2022-1040","BIT-helm-2021-21303","CVE-2021-21303","GHSA-c38g-469g-cmgx"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T15:30:40.6081624+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8059403+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8059408+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-c8a5bbe81e5c97f1ef0204d9f424811c3ab0e015216b17be9cd9061ec365cc09","complete":true,"records":432153,"lastAttemptAt":"2026-11-25T15:28:37.3830721+00:00","lastSuccessAt":"2026-11-25T15:28:37.2582332+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.3830721+00:00","snapshotPublishedAt":"2026-11-25T14:30:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-5922d9804a9248789f8c2f7e9396c714","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T15:41:09.4114251+00:00","lastSuccessAt":"2026-11-25T15:41:09.407+00:00","error":"129 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T15:41:09.407+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13600,"expectedIdentifiers":13986,"failedIdentifiers":129},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T15:30:40.6081624+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8067671+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8067672+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-91a1844a9c234a33bf5df077b2f01fa3","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T15:30:41.8818771+00:00","lastSuccessAt":"2026-11-25T15:30:41.877+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:41.877+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T15:30:40.4787181+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.4787181+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T15:28:37.4627555+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.4627555+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T15:30:40.5768219+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.5768219+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-5747fce78879ab80d0039caa02f9d28c583bbc680a45e25fa53cb124697761ff","complete":true,"records":233128,"lastAttemptAt":"2026-11-25T15:30:40.354568+00:00","lastSuccessAt":"2026-11-25T15:30:39.1946895+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.354568+00:00","snapshotPublishedAt":"2026-11-25T15:03:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}