National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2019-16765 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 7.8 HIGH
Vector:  CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Nist CVSS score does not match with CNA score
CNA:  security-advisories@github.com
Base Score: 7.4 HIGH
Vector:  CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://github.com/github/vscode-codeql/blob/v1.0.1/CHANGELOG.md Release Notes
https://github.com/github/vscode-codeql/pull/174 Patch Third Party Advisory
https://github.com/github/vscode-codeql/security/advisories/GHSA-wf4x-8mpj-r42q Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-20 Improper Input Validation NIST  
CWE-250 Execution with Unnecessary Privileges security-advisories@github.com  
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') security-advisories@github.com  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:microsoft:codeql:*:*:*:*:*:visual_studio_code:*:*
     Show Matching CPE(s)
Up to (excluding)
1.0.1


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-16765
NVD Published Date:
11/25/2019
NVD Last Modified:
12/17/2019