Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-35976— Improper KubeConfig handling allows arbitrary code execution

Quick assessment

Affected
weaveworks vscode-gitops-tools
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Microsoft VSCode Extension是美国微软(Microsoft)公司的适用于VSCode的扩展程序。 Microsoft VSCode Extension vscode-gitops-tools 0.7.0 到 0.20.2版本存在操作系统命令注入漏洞,该漏洞源于vscode-gitops-tools依赖 kubeconfigs 来与 Kubernetes 集群通信,特制的 kubeconfig 会代表VSCode 的用户执行任意代码。

CVSS 5.2 · Medium EPSS 0.51% · P42
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-35976

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper KubeConfig handling allows arbitrary code execution
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Microsoft VSCode Extension 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Microsoft VSCode Extension是美国微软(Microsoft)公司的适用于VSCode的扩展程序。 Microsoft VSCode Extension vscode-gitops-tools 0.7.0 到 0.20.2版本存在操作系统命令注入漏洞,该漏洞源于vscode-gitops-tools依赖 kubeconfigs 来与 Kubernetes 集群通信,特制的 kubeconfig 会代表VSCode 的用户执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
weaveworks vscode-gitops-tools >= 0.5.0, <= 0.20.9 -

II. Public POCs for CVE-2022-35976

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-35976

请登录查看更多情报信息。

Vendor Advisories for CVE-2022-35976 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-35976

No comments yet


Leave a comment