Skip to content

Remote Code Execution Vulnerability

High
meganrogge published GHSA-4v3r-wv86-6mjj Apr 11, 2023

Package

No package listed

Affected versions

< 1.77.1

Patched versions

1.77.1

Description

Impact

A vulnerability exists in VS Code 1.77.0 and earlier versions where escape sequences implemented by VS Code to support shell integration allow for a previously run command line to be replaced. As such, a user could be running a changed command unexpectedly when they use re-run command.

Patches

The fix is available starting with VS Code 1.77.1. The fix (6740c2e) mitigates this by showing the user a notification with the command that is to be run and requires their approval to do so.

References

Severity

High

CVE ID

CVE-2023-24893

Weaknesses

No CWEs