Security mailing lists by PureSourceCode

CVE-2021-22539

HIGH 7.8CVSS 3.1

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
16 Apr 2021
Last modified
17 Jun 2026
Assigned by
cve-coordination@google.com
NVD status
Modified
Weakness
CWE-668CWE-73
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve-coordination@google.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google bazel
cpe:2.3:a:google:bazel:*:*:*:*:*:visual_studio:*:*
>= 0.1.0, < 0.4.1 0.4.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 16 Apr 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.