Path Traversal in GitHub Vscode-Codeql
CVE-2019-16765
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 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.
EPSS exploit prediction
EPSS: 0.054 (92.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.050 · newest: 0.054 · change: +0.004
Affected products
- GitHub Vscode-Codeql — versions < 1.0.1
- Microsoft Codeql
Weakness classification (CWE)
References
- github.com/github/vscode-codeql/security/advisories/GHSA-wf4x-8mpj-r42q (Third Party Advisory)
- github.com/github/vscode-codeql/pull/174 (Patch, Third Party Advisory)
- github.com/github/vscode-codeql/blob/v1.0.1/CHANGELOG.md (Release Notes)
Frequently asked questions
- What is CVE-2019-16765?
- CVE-2019-16765 is a high-severity vulnerability in GitHub Vscode-Codeql, classified under Path Traversal. CVSS score: 7.4/10. Published 2019-11-25.
- How severe is CVE-2019-16765?
- High severity. CVSS v3 base score is 7.4 out of 10.