CVE-2019-16765
HIGHMicrosoft CodeQL < 1.0.1 - Arbitrary Code Execution via Workspace Directory Traversal
Title source: llmDescription
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.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/github/vscode-codeql/security/advisories/GHSA-wf4x-8mpj-r42q
Patch, Third Party Advisory x_refsource_misc
https://github.com/github/vscode-codeql/pull/174
Release Notes x_refsource_misc
https://github.com/github/vscode-codeql/blob/v1.0.1/CHANGELOG.md
Scores
CVSS v3
7.4
EPSS
0.0473
EPSS Percentile
90.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Details
CWE
CWE-22
CWE-250
Status
published
Products (1)
microsoft/codeql
< 1.0.1
Published
Nov 25, 2019
Tracked Since
Feb 18, 2026