CVE-2021-22539
Last modified
CVE-2021-22539 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Bazel | >= 0.1.0, < 0.4.1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-22539?
How severe is CVE-2021-22539?
How do I fix CVE-2021-22539?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-22530A vulnerability identified in NetIQ Advance Authentication t…9.9
- CVE-2021-22531A bug exist in the input parameter of Access Manager that al…6.1
- CVE-2021-22532Possible NLDAP Denial of Service attack Vulnerability in eD…7.5
- CVE-2021-22533Possible Insertion of Sensitive Information into Log File Vu…9.1
- CVE-2021-22535Unauthorized information security disclosure vulnerability o…4.9
- CVE-2021-22538A privilege escalation vulnerability impacting the Google Ex…8.8
- CVE-2021-2254Vulnerability in the Oracle Project Contracts product of Ora…8.1
- CVE-2021-22540Bad validation logic in the Dart SDK versions prior to 2.12.…6.1
- CVE-2021-22543An issue was discovered in Linux: KVM through Improper handl…7.8
- CVE-2021-22545An attacker can craft a specific IdaPro *.i64 file that will…7.8
- CVE-2021-22547In IoT Devices SDK, there is an implementation of calloc() t…7.8
- CVE-2021-22548An attacker can change the pointer to untrusted memory to po…7.8
Are you affected by CVE-2021-22539?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
