RCE in Weave Gitops Tools
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.005 (41.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 41st percentile — 41.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.000
Affected products
- Weave Gitops Tools
- Weaveworks Vscode-Gitops-Tools — versions >= 0.5.0, <= 0.20.9
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/weaveworks/vscode-gitops-tools/security/advisories/GHSA-287h-vjhw-jq… (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-35976?
- CVE-2022-35976 is a medium-severity vulnerability in Weave Gitops Tools, classified under OS Command Injection. CVSS score: 5.2/10. Published 2022-08-18.
- How severe is CVE-2022-35976?
- Medium severity. CVSS v3 base score is 5.2 out of 10.
- Is CVE-2022-35976 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.