CVE-2021-22539
CVE-2021-22539 — Code execution in VSCode-bazel via malicious Bazel config files
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 Updated Sources: cvelistV5, Google
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
8.2
HIGH
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.2 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-73
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
References
2 on the record
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-90817 Vanderbilt University Research Electronic Data Capture (REDCap) Code Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2020-1631 Juniper Junos OS Path Traversal VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-33053 Microsoft Windows External Control of File Name or Path VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2026-96656 Plex Media Server arbitrary file writeCVSS 7.2 · CISA KEV
- CVE-2025-0111 Palo Alto Networks PAN-OS File Read VulnerabilityCVSS 6.5 · CISA KEV
- CVE-2024-43451 Microsoft Windows NTLMv2 Hash Disclosure Spoofing VulnerabilityCVSS 6.5 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.