CVE-2021-22539CWE-73

Code execution in VSCode-bazel via malicious Bazel config files

High · published April 16, 2021

CVSS v3.1
8.2
EPSS
0%
Percentile
22.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00310 · 22.6th percentile
Weakness
CWE-73 · External Control of File Name or Path
Published
2021-04-16T10:15Z
EPSS history
Timeline
  • 16 APR 10:15Z
    Code execution in VSCode-bazel via malicious Bazel config files
    cvelistv5