Skip to content
MicrosoftGHSA-q6rv-h25q-6pj6

Remote Code Execution Vulnerability

HighCVE-2022-41034 · Published Oct 11, 2022

A remote code execution vulnerability exists in VS Code 1.71 and earlier versions for malicious notebooks. These notebooks could use command uris to execute arbitrary commands, including potentially dangerous commands ### Patches The fix is available starting with **VS Code 1.71.1**. The [fix](https://github.com/microsoft/vscode/commit/d2cff714d5410c570043e259fd72c75bbf387b7a) mitigates this attack by performing input validation on the URL pointing to the repository to be cloned. ### Workarounds Do not open notebooks from untrusted sources. ### References * The patch for this can be found at https://github.com/microsoft/vscode/commit/d2cff714d5410c570043e259fd72c75bbf387b7a * An issue for this can be found at https://github.com/microsoft/vscode/issues/163321 * MSRC details for this can be found at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-41034

GitHub advisory

Affected versions

PackageAffectedFixed in
vscode
Product
< 1.71.11.71.1
Details and references

More Microsoft advisories

All Microsoft
Advisory
Remote Code Execution Vulnerability
MediumJan 10, 2023
Information Disclosure Vulnerability
MediumOct 11, 2022
Elevation of Privilege Vulnerability
HighSep 14, 2022
Remote Code Execution Vulnerability
HighMay 25, 2022
Spoofing Vulnerability
HighMay 25, 2022
Elevation of Privilege Vulnerability
HighMay 25, 2022

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.