CVE-2020-0604

Description

A remote code execution vulnerability exists in Visual Studio Code when it process environment variables after opening a project. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.To exploit this vulnerability, an attacker would need to convince a target to clone a repository and open it in Visual Studio Code. Attacker-specified code would execute when the target opened the integrated terminal.The update address the vulnerability by modifying the way Visual Studio Code handles environment variables.

Risk Information

Base Score
8.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
9.238

Associated Vulnerability

VulnerabilityOS Platform
Vulnerability CVE-2020-0604 are affected in Microsoft Visual Studio Code (x64) 0.23.0Windows
Vulnerability CVE-2020-0604 are affected in Microsoft Visual Studio Code 0.23.0Windows
Vulnerabilities CVE-2020-0604 are affected in Microsoft Visual Studio Code (User Based) 0.23.99Windows

Patch Details

Click to see the patches provided by ManageEngine for this CVE
Patch IDPatch Description
PATCH-343136Microsoft Visual Studio Code (x64) (1.95.3)
PATCH-333564Microsoft Visual Studio Code (1.83.1)

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234