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
Aliases
  • GHSA-2rcw-j8x4-hgcv
Published
2021-04-16T11:15:12Z
Modified
2026-08-27T08:40:54Z
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/bazel-contrib/vscode-bazel

Affected ranges

Type
GIT
Repo
https://github.com/bazel-contrib/vscode-bazel
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:google:bazel:*:*:*:*:*:visual_studio:*:*",
    "extracted_events": [
        {
            "introduced": "0.1.0"
        },
        {
            "fixed": "0.4.1"
        }
    ],
    "source": "CPE_RANGE"
}

Database specific

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