Skip to content

Remote Code Execution Vulnerability

High
mjbvz published GHSA-q6rv-h25q-6pj6 Oct 11, 2022

Package

No package listed

Affected versions

< 1.71.1

Patched versions

1.71.1

Description

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

Severity

High

CVE ID

CVE-2022-41034

Weaknesses

No CWEs