CVE-2022-35976

MEDIUM

GitOps Tools Extension for VSCode - RCE

Title source: llm
STIX 2.1

Description

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 (1)

Core 1

Scores

CVSS v3 5.2
EPSS 0.0043
EPSS Percentile 34.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-78
Status published
Products (1)
weave/gitops_tools 0.5.0 - 0.20.9
Published Aug 18, 2022
Tracked Since Feb 18, 2026