CVE-2019-16765
Last modified
CVE-2019-16765 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 4.73% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Codeql | < 1.0.1 |
References
- https://github.com/github/vscode-codeql/pull/174Patch, Third Party Advisory
- https://github.com/github/vscode-codeql/security/advisories/GHSA-wf4x-8mpj-r42qThird Party Advisory
- https://github.com/github/vscode-codeql/pull/174Patch, Third Party Advisory
- https://github.com/github/vscode-codeql/security/advisories/GHSA-wf4x-8mpj-r42qThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-16765?
How severe is CVE-2019-16765?
How do I fix CVE-2019-16765?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-1676A vulnerability in the Session Initiation Protocol (SIP) cal…6.8
- CVE-2019-16760Cargo prior to Rust 1.26.0 may download the wrong dependency…7.5
- CVE-2019-16761A specially crafted Bitcoin script can cause a discrepancy b…6.1
- CVE-2019-16762A specially crafted Bitcoin script can cause a discrepancy b…6.1
- CVE-2019-16763In Pannellum from 2.5.0 through 2.5.4 URLs were not sanitize…6.1
- CVE-2019-16764The use of `String.to_atom/1` in PowAssent is susceptible to…5.5
- CVE-2019-16766When using wagtail-2fa before 1.3.0, if someone gains access…8.8
- CVE-2019-16767The admin sys mode is now conditional and dedicated for the …7.2
- CVE-2019-16768In affected versions of Sylius, exception messages from inte…4.3
- CVE-2019-16769The serialize-javascript npm package before version 2.1.1 is…5.4
- CVE-2019-1677A vulnerability in Cisco Webex Meetings for Android could al…4.6
- CVE-2019-16770In Puma before versions 3.12.2 and 4.3.1, a poorly-behaved c…7.5
Are you affected by CVE-2019-16765?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
