Code Injection in Visual Studio Code - CVE-2020-16977

 

Code Injection in Visual Studio Code - CVE-2020-16977

Published: October 13, 2020


Vulnerability identifier: #VU47619
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-16977
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists in Visual Studio Code when the Python extension loads a Jupyter notebook file. A remote attacker can trick a victim to open a specially crafted file and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Visual Studio Code

How to mitigate CVE-2020-16977

Install updates from vendor's website.

Visual Studio Code - update to 2020.9.114305

External References

Related Security Bulletins