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.
EPSS: 0.003 (23.4th percentile) — read the EPSS interpretation.
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.
Affected products
- Google Bazel
- Google Llc Vscode-bazel — versions unspecified
Weakness classification (CWE)
References
- cve-coordination@google.com (Third Party Advisory, x_refsource_MISC)
- cve-coordination@google.com (x_refsource_MISC, Broken Link)
Frequently asked questions
- What is CVE-2021-22539?
- CVE-2021-22539 is a high-severity vulnerability in Google Bazel, classified under External Control of File Name or Path. CVSS score: 8.2/10. Published 2021-04-16.
- How severe is CVE-2021-22539?
- High severity. CVSS v3 base score is 8.2 out of 10.