CVE-2020-17023
highpriority · track · 39EPSS 0.046 · 92 %ileEURUUSEPSS · scored 2026-10-27
<p>A remote code execution vulnerability exists in Visual Studio Code when a user is tricked into opening a malicious 'package.json' file. 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.</p> <p>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 opens the malicious 'package.json' file.</p> <p>The update address the vulnerability by modifying the way Visual Studio Code handles JSON files.</p>
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://code.visualstudio.com/updates/v1_50Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-17023cnnvd
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-17023cnnvd
- https://portal.msrc.microsoft.com/zh-CN/security-guidance/advisory/CVE-2020-17023cnnvd
- https://www.auscert.org.au/bulletins/ESB-2020.3586/cnnvd
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-17023enisa_euvd
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-17023PatchVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan