Vulnerabilities · 2019 · Microsoft
CVE-2019-16765
Microsoft Codeql vulnerability
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 products
Codeql. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Microsoft Codeql runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Microsoft products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.