Vulnerability Details : CVE-2022-35976
The GitOps Tools Extension for VSCode relies on kubeconfigs in order to communicate with Kubernetes clusters. A specially crafted kubeconfig leads to arbitrary code execution on behalf of the user running VSCode. Users relying on kubeconfigs that are generated or altered by other processes or users are affected by this issue. Please note that the vulnerability is specific to this extension, and the same kubeconfig would not result in arbitrary code execution when used with kubectl. Using only trust-worthy kubeconfigs is a safe mitigation. However, updating to the latest version of the extension is still highly recommended.
Products affected by CVE-2022-35976
- Weave » Gitops Tools » For Visual Studio CodeVersions from including (>=) 0.5.0 and up to, including, (<=) 0.20.9cpe:2.3:a:weave:gitops_tools:*:*:*:*:*:visual_studio_code:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-35976
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 10 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-35976
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
5.2
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L |
1.1
|
3.7
|
GitHub, Inc. |
CWE ids for CVE-2022-35976
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2022-35976
-
https://github.com/weaveworks/vscode-gitops-tools/security/advisories/GHSA-287h-vjhw-jqf7
Improper KubeConfig handling allows arbitrary code execution · Advisory · weaveworks/vscode-gitops-tools · GitHubThird Party Advisory
Jump to