Vulnerabilities > CVE-2021-22539 - Exposure of Resource to Wrong Sphere vulnerability in Google Bazel

047910
CVSS 7.8 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
local
low complexity
google
CWE-668

Summary

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.

Vulnerable Configurations

Part Description Count
Application
Google
4

Common Weakness Enumeration (CWE)