CVE-2021-22539Google Bazel
High 7.8
Follow: this CVE · Google · Google Bazel We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Bazel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bazel | ≥ 0.1.0 < 0.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- github.com Third Party Advisory