Skip to content
OpenAdvisories
High · 7.4 CVE-2019-16765 EUVD-2019-7295GHSA-x3w4-7cmr-9gv2

If an attacker can get a user to open a specially prepared directory tree as a workspace in Visual Studio Code with the CodeQL extension ac…

Published Nov 25, 2019 · Updated Aug 5, 2024 · Assigned by GitHub_M

Description

If an attacker can get a user to open a specially prepared directory tree as a workspace in Visual Studio Code with the CodeQL extension active, arbitrary code of the attacker's choosing may be executed on the user's behalf. This is fixed in version 1.0.1 of the extension. Users should upgrade to this version using Visual Studio Code Marketplace's upgrade mechanism. After upgrading, the codeQL.cli.executablePath setting can only be set in the per-user settings, and not in the per-workspace settings. More information about VS Code settings can be found here.

Affected products

VendorProductAffectedFixed
github vscode-codeql < 1.0.1 – < 1.0.1 1.0.1

References