FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

vscode -- VS Code Remote Code Execution Vulnerability

Affected packages
vscode < 1.82.1


VuXML ID 4bc66a81-89d2-4696-a04b-defd2eb77783
Discovery 2023-09-12
Entry 2023-09-13

VSCode developers report:

Visual Studio Code Remote Code Execution Vulnerability

A remote code execution vulnerability exists in VS Code 1.82.0 and earlier versions that working in a maliciously crafted package.json can result in executing commands locally. This scenario would require the attacker to get the VS Code user to open the malicious project and have get the user to open and work with malformed entries in the dependencies sections of the package.json file.

VS Code uses the locally installed npm command to fetch information on package dependencies. A package dependency can be named in such a way that the npm tool runs a script instead.


CVE Name CVE-2023-36742