Vulnerability in Google Bazel
CVE-2021-22539
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 24.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Google Bazel
- Google Llc Vscode-Bazel — versions unspecified
Weakness classification (CWE)
References
- github.com/bazelbuild/vscode-bazel/security/advisories/GHSA-2rcw-j8x4-hgcv (Third Party Advisory)
- github.com/bazelbuild/vscode-bazel-ghsa-2rcw-j8x4-hgcv/pull/1 (Broken Link)