CVE-2020-17023
published high CVSS 3.1 · 7.8Visual Studio JSON Remote Code Execution Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Microsoft | — | Visual Studio Code1.0.0 to < publication · Platforms: Unknown | Affected | Not stated | microsoft |
Description
<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>
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- microsoft · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C
- Scenarios
- en-US: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Microsoft | Visual Studio Code | 1.0.0 to < publication (affected · custom) | microsoft · cna |
Weaknesses
1- Remote Code Execution
References
1Provider assertions
2microsoft · cna
Visual Studio JSON Remote Code Execution Vulnerability
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0374d3697818d81a0cd5f0ffa9609dde2a9edb23d0d6e80e114aac943aa04f40
- Ingested
- 23 Sep 2026, 07:49:02 UTC
- Source record
- Official CVE record