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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-22539— Code execution in VSCode-bazel via malicious Bazel config files

Quick assessment

Affected
Google LLC VSCode-Bazel
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.

Philipp Wollermann vscode-bazel是Philipp Wollermann开源的一个应用软件。用于Visual Studio Code的Bazel插件。 VScode-bazel 0.4.1之前版本存在安全漏洞,攻击者可利用该漏洞可以通过vscode-bazel在系统上执行任何可执行文件。

CVSS 8.2 · High EPSS 0.31% · P24

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-22539

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
Code execution in VSCode-bazel via malicious Bazel config files
Source: CVE Program / CVE List V5
Vulnerability Description
An attacker can place a crafted JSON config file into the project folder pointing to a custom executable. VScode-bazel allows the workspace path to lint *.bzl files to be set via this config file. As such the attacker is able to execute any executable on the system through vscode-bazel. We recommend upgrading to version 0.4.1 or above.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
Source: CVE Program / CVE List V5
Vulnerability Title
Philipp Wollermann VScode-bazel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Philipp Wollermann vscode-bazel是Philipp Wollermann开源的一个应用软件。用于Visual Studio Code的Bazel插件。 VScode-bazel 0.4.1之前版本存在安全漏洞,攻击者可利用该漏洞可以通过vscode-bazel在系统上执行任何可执行文件。
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
Google LLC VSCode-Bazel unspecified ~ 0.4.0 -

II. Public POCs for CVE-2021-22539

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-22539

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

Patches & Fixes for CVE-2021-22539 (1)

IV. Related Vulnerabilities