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 (21.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 21.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
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)
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.