PT-2021-15132 · Unknown · Vscode-Bazel

Ry0Tak

+1

·

Published

2021-04-16

·

Updated

2022-10-25

·

CVE-2021-22539

CVSS v3.1

8.2

High

VectorAV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions vscode-bazel versions prior to 0.4.1
Description An attacker can place a crafted JSON config file into the project folder, pointing to a custom executable, allowing the execution of any executable on the system through vscode-bazel. This is possible because vscode-bazel allows the workspace path to lint *.bzl files to be set via this config file.
Recommendations For versions prior to 0.4.1, upgrade to version 0.4.1 or above.

Fix

Exposure of Resource to Wrong Sphere

Weakness Enumeration

Related Identifiers

CVE-2021-22539
GHSA-2RCW-J8X4-HGCV

Affected Products

Vscode-Bazel