CVE-2020-16881
Last modified
CVE-2020-16881 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. <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. EPSS estimates a 5.37% chance of exploitation in the next 30 days.
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>
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Visual Studio Code | < 1.48.1 |
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-16881Patch, Vendor Advisory
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-16881Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-16881?
How severe is CVE-2020-16881?
How do I fix CVE-2020-16881?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-16875<p>A remote code execution vulnerability exists in Microsoft…8.4
- CVE-2020-16876<p>An elevation of privilege vulnerability exists when the W…7.1
- CVE-2020-16877<p>An elevation of privilege vulnerability exists when Micro…7.1
- CVE-2020-16878<p>A cross site scripting vulnerability exists when Microsof…5.4
- CVE-2020-16879<p>An information disclosure vulnerability exists when a Win…5.5
- CVE-2020-1688On Juniper Networks SRX Series and NFX Series, a local authe…6.5
- CVE-2020-16884<p>A remote code execution vulnerability exists in the way t…4.2
- CVE-2020-16885<p>An elevation of privilege vulnerability exists when the W…7.8
- CVE-2020-16886<p>A security feature bypass vulnerability exists in the Pow…5.3
- CVE-2020-16887<p>An elevation of privilege vulnerability exists in the way…7.8
- CVE-2020-16889<p>An information disclosure vulnerability exists when the W…5.5
- CVE-2020-1689On Juniper Networks EX4300-MP Series, EX4600 Series and QFX5…6.5
Are you affected by CVE-2020-16881?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
