CVE-2021-22539

Source
https://cve.org/CVERecord?id=CVE-2021-22539
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22539.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-22539
Related
  • GHSA-2rcw-j8x4-hgcv
Published
2021-04-16T11:15:12.637Z
Modified
2026-03-14T08:29:06.102024Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/bazelbuild/vscode-bazel

Affected ranges

Type
GIT
Repo
https://github.com/bazelbuild/vscode-bazel
Events
Database specific
{
    "versions": [
        {
            "introduced": "0.1.0"
        },
        {
            "fixed": "0.4.1"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22539.json"