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.
References
Link | Resource |
---|---|
https://github.com/weaveworks/vscode-gitops-tools/security/advisories/GHSA-287h-vjhw-jqf7 | Third Party Advisory |
https://github.com/weaveworks/vscode-gitops-tools/security/advisories/GHSA-287h-vjhw-jqf7 | Third Party Advisory |
Configurations
History
21 Nov 2024, 07:12
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/weaveworks/vscode-gitops-tools/security/advisories/GHSA-287h-vjhw-jqf7 - Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.2 |
Information
Published : 2022-08-18 19:15
Updated : 2024-11-21 07:12
NVD link : CVE-2022-35976
Mitre link : CVE-2022-35976
CVE.ORG link : CVE-2022-35976
JSON object : View
Products Affected
weave
- gitops_tools
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
NVD-CWE-noinfo