Live threats

All CVEs / Google

CVE-2021-22539Google Bazel

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.3%
probability of exploitation in 30 days · percentile 26
Auth required
Yes
Published
Apr 16, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-73, CWE-668
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bazel.

Affected products (CPE)

VendorProductVersions
googlebazel≥ 0.1.0 < 0.4.1

Official sources

References

Links published by the sources. Open them with care.