CVE-2019-16765

published 25 Nov 2019 · updated 5 Aug 2024

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…

7.4HighCVSS 7.4EPSS 5%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 5%. Fixed in 1.0.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GitHub>=< 1.0.1 <1.0.11.0.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-16765 severity on Zeptric[![CVE-2019-16765](https://zeptric.io/badge/cve/CVE-2019-16765.svg)](https://zeptric.io/cve/CVE-2019-16765)