CVE-2020-16881
published 2020-09-11CVE-2020-16881: 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…
PriorityP344high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
5.37%
91.7th percentile
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.
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.
The update address the vulnerability by modifying the way Visual Studio Code handles JSON files.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| microsoft | visual_studio_code | < 1.48.1 | 1.48.1 |
| microsoft | visual_studio_code | >= 1.0.0 < publication | publication |
| msrc | visual_studio_code | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.09.3CRITICALAV:N/AC:M/Au:N/C:C/I:C/A:C
vendor_msrc7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-jq68-qcp2-fcqh: A remote code execution vulnerability exists in Visual Studio Code when a user is tricked into opening a malicious 'package
ghsa_unreviewed·2022-05-24
CVE-2020-16881 [HIGH] CWE-20 GHSA-jq68-qcp2-fcqh: A remote code execution vulnerability exists in Visual Studio Code when a user is tricked into opening a malicious 'package
A remote code execution vulnerability exists in Visual Studio Code when a user is tricked into opening a malicious 'package.json' file, aka 'Visual Studio JSON Remote Code Execution Vulnerability'.
Microsoft
Visual Studio JSON Remote Code Execution Vulnerability
vendor_msrc·2020-09-08·CVSS 7.8
CVE-2020-16881 [HIGH] Visual Studio JSON Remote Code Execution Vulnerability
Visual Studio JSON Remote Code Execution Vulnerability
Description: 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.
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.
The update a
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2020-09-11
Published