CVE-2021-21303
CVSS V2 Low 3.5
CVSS V3 High 7.7
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.
Overview
- CVE ID
- CVE-2021-21303
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-02-05T22:15:12
- Last Modified Date
- 2023-03-13T17:26:25
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:helm:helm:*:*:*:*:*:*:*:* | 1 | OR | 3.0.0 | 3.5.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:S/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 3.5
- Severity
- LOW
- Exploitability Score
- 6.8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- CHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 7.7
- Base Severity
- HIGH
- Exploitability Score
- 3.1
- Impact Score
- 4
References
Reference URL | Reference Tags |
---|---|
https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx | Third Party Advisory |
https://github.com/helm/helm/releases/tag/v3.5.2 | Release Notes Third Party Advisory |
https://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21303 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21303 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:23:36 | Added to TrackCVE | |||
2022-12-05 21:30:14 | 2021-02-05T22:15Z | 2021-02-05T22:15:12 | CVE Published Date | updated |
2022-12-05 21:30:14 | 2022-10-25T15:48:21 | CVE Modified Date | updated | |
2022-12-05 21:30:14 | Analyzed | Vulnerability Status | updated | |
2023-03-13 17:10:01 | Analyzed | Undergoing Analysis | Vulnerability Status | updated |
2023-03-13 18:10:53 | 2023-03-13T17:26:25 | CVE Modified Date | updated | |
2023-03-13 18:10:53 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |
2023-03-13 18:10:53 | AV:N/AC:L/Au:S/C:N/I:P/A:N | AV:N/AC:M/Au:S/C:N/I:P/A:N | CVSS V2 vector_string | updated |
2023-03-13 18:10:53 | LOW | MEDIUM | CVSS V2 access_complexity | updated |
2023-03-13 18:10:53 | 4 | 3.5 | CVSS V2 baseScore | updated |
2023-03-13 18:10:53 | MEDIUM | LOW | CVSS V2 baseSeverity | updated |
2023-03-13 18:10:53 | 8 | 6.8 | CVSS V2 exploitabilityScore | updated |