VULNERABILITY INTELLIGENCE
CVE-2021-22539
CVSS score8.2 HIGH
EPSS probability0.31%
CISA KEVNot currently listed
Published2021-04-16
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Description
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.
Weakness classification
- cve-coordination@google.com: CWE-73
- nvd@nist.gov: CWE-668
Primary references
- cve-coordination@google.com — Broken Link
- cve-coordination@google.com — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Broken Link
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory