Input validation error in Visual Studio Code - CVE-2020-16881
Published: September 8, 2020
Vulnerability identifier: #VU46458
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-16881
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Microsoft
Affected software:
Visual Studio Code
Visual Studio Code
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the system.
The vulnerability exists due to insufficient validation of user-supplied input in Visual Studio Code. A remote attacker can trick a victim to open a specially crafted "package.json" file and execute arbitrary code on the target system.
How to mitigate CVE-2020-16881
Install updates from vendor's website.