{"id":"EUVD-2021-1306","enisaUuid":"5e42deac-a4b3-3d90-a4be-18a0aba27704","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.","datePublished":"Feb 5, 2021, 9:40:14 PM","dateUpdated":"Aug 3, 2024, 6:09:15 PM","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","references":"https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx\nhttps://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a\nhttps://github.com/helm/helm/releases/tag/v3.5.2\n","aliases":"CVE-2021-21303\nGHSA-c38g-469g-cmgx\n","assigner":"GitHub_M","epss":1.09,"enisaIdProduct":[{"id":"65ecec85-6332-339e-b244-56526f530cd5","product":{"name":"helm","vendor":{"name":"helm"}},"product_version":"\u003e 3.0, \u003c 3.5.2"}],"enisaIdVendor":[{"id":"3b142e50-377a-3dab-b3ae-b86ce4543424","vendor":{"name":"helm"}}],"enisaIdVulnerability":[{"id":"703efea8-97b0-3289-9ba8-083a0b95d43f","vulnerability":{"id":"GHSA-c38g-469g-cmgx","description":"Improper Neutralization of Special Elements in Output in helm.sh/helm/v3","datePublished":"Jun 23, 2021, 6:14:40 PM","dateUpdated":"May 31, 2024, 4:48:30 PM","baseScore":null,"references":"https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-21303\nhttps://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a\nhttps://github.com/advisories/GHSA-c38g-469g-cmgx\nhttps://github.com/helm/helm\nhttps://github.com/helm/helm/releases/tag/v3.5.2\nhttps://pkg.go.dev/vuln/GO-2022-1040\n","enisa_id":"EUVD-2021-1306\n","aliases":"GHSA-c38g-469g-cmgx\nCVE-2021-21303\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"c27835ef-bb8f-35ea-b4bc-9029899e9460","vulnerability":{"id":"CVE-2021-21303","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.","datePublished":"Feb 5, 2021, 9:40:14 PM","dateUpdated":"Aug 3, 2024, 6:09:15 PM","status":"PUBLISHED","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","references":"https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx\nhttps://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a\nhttps://github.com/helm/helm/releases/tag/v3.5.2\n","enisa_id":"EUVD-2021-1306\n","assigner":"GitHub_M","epss":1.09,"dataProcessed":"Nov 22, 2026, 1:29:54 AM","vulnerabilityProduct":[{"id":"52240585-bafc-33c1-a3f9-97123dcfb526","product":{"name":"helm","vendor":{"name":"helm"}},"product_version":"\u003e 3.0, \u003c 3.5.2"}],"vulnerabilityVendor":[{"id":"65217760-fb20-3bee-9fac-2e751aaf4dac","vendor":{"name":"helm"}}]}}],"enisaIdAdvisory":[{"id":"8c964a33-dbaa-3fe4-9435-83d27df12122","advisory":{"id":"WID-SEC-W-2022-2339","description":"IBM DB2: Mehrere Schwachstellen","summary":"Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in  IBM DB2 on Cloud Pak for Data and Db2 Warehouse on Cloud Pak for Data ausnutzen, um die Vertraulichkeit, Verfügbarkeit und Integrität zu gefährden.","datePublished":"Dec 14, 2022, 11:00:00 PM","dateUpdated":"Apr 18, 2023, 10:00:00 PM","baseScore":0.0,"references":"https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-2339.json\nhttps://wid.cert-bund.de/portal/wid/securityadvisory?name\u003dWID-SEC-2022-2339\n","aliases":"CVE-2016-1000023\nCVE-2021-21303\nCVE-2021-32690\nCVE-2022-27664\nCVE-2022-28131\nCVE-2022-29526\nCVE-2022-30633\nCVE-2022-3172\nCVE-2022-36055\nCVE-2022-41296\nCVE-2022-41297\n","source":{"id":8,"name":"csaf_certbund"},"advisoryProduct":[{"id":"008cdbd3-5c79-3ab7-9446-5df86560ea76","product":{"name":"DB2","vendor":{"name":"IBM"}}},{"id":"529ac28f-5ee8-394e-a854-76dcace6536f","product":{"name":"IBM DB2 Cloud Pak for Data \u003c 4.6","vendor":{"name":"IBM"}}},{"id":"589d49e6-5d98-306f-9431-b1d2d447fd17","product":{"name":"IBM DB2","vendor":{"name":"IBM"}}}]}},{"id":"a081c40c-bd67-3c96-b1b6-78ac6a3f6af8","advisory":{"id":"msrc_CVE-2021-21303","description":"Injection attack in Helm","datePublished":"Feb 2, 2021, 12:00:00 AM","dateUpdated":"Dec 16, 2021, 12:00:00 AM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2021/msrc_cve-2021-21303.json\n","aliases":"CVE-2021-21303\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"07ee92e5-7d7a-3f2b-8c97-8a633aa7606b","product":{"name":"cbl2 helm 3.4.1-4","vendor":{"name":"Microsoft"}}},{"id":"15c98b59-1e0b-362b-969e-3725812d5618","product":{"name":"1.0","vendor":{"name":"GE"}}},{"id":"1b915a45-5cbf-3e7d-abf8-9b1e7a95c1d5","product":{"name":"helm","vendor":{"name":"helm"}}},{"id":"63cc8568-f43b-333d-ba1d-a94ede4271e3","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}},{"id":"755e492d-fbb5-361c-bc3a-d93f2db0ef94","product":{"name":"\u003ccbl2 helm 3.4.1-4","vendor":{"name":"Microsoft"}}},{"id":"c6d0a959-e42d-3ac8-b2a6-ac0f16a0ed7c","product":{"name":"2.0","vendor":{"name":"Smiths Medical"}}},{"id":"c72687a5-94cb-3c2c-8e70-dedc39591b72","product":{"name":"\u003ccm1 helm 3.4.1-4","vendor":{"name":"Microsoft"}}},{"id":"dbb1b2c6-a8bb-3755-a103-57b5e51eeae5","product":{"name":"cm1 helm 3.4.1-4","vendor":{"name":"Microsoft"}}}]}}]}