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
| Vector | AV: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
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Vscode-Bazel