CVE-2020-0604
Last modified
CVE-2020-0604 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. A remote code execution vulnerability exists in Visual Studio Code when it process environment variables after opening a project. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. EPSS estimates a 3.64% chance of exploitation in the next 30 days.
Description
A remote code execution vulnerability exists in Visual Studio Code when it process environment variables after opening a project. 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 opened the integrated terminal. The update address the vulnerability by modifying the way Visual Studio Code handles environment variables.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Visual Studio Code | < 0.24.0 |
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0604Patch, Vendor Advisory
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0604Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-0604?
How severe is CVE-2020-0604?
How do I fix CVE-2020-0604?
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-0598Uncontrolled search path in the installer for the Intel(R) B…7.8
- CVE-2020-0599Improper access control in the PMC for some Intel(R) Process…6.7
- CVE-2020-0600Improper buffer restrictions in firmware for some Intel(R) N…7.8
- CVE-2020-0601A spoofing vulnerability exists in the way Windows CryptoAPI…8.1
- CVE-2020-0602A denial of service vulnerability exists when ASP.NET Core i…7.5
- CVE-2020-0603A remote code execution vulnerability exists in ASP.NET Core…8.8
- CVE-2020-0605A remote code execution vulnerability exists in .NET softwar…8.8
- CVE-2020-0606A remote code execution vulnerability exists in .NET softwar…8.8
- CVE-2020-0607An information disclosure vulnerability exists in the way th…5.5
- CVE-2020-0608An information disclosure vulnerability exists when the win3…5.5
- CVE-2020-0609A remote code execution vulnerability exists in Windows Remo…9.8
- CVE-2020-0610A remote code execution vulnerability exists in Windows Remo…9.8
Are you affected by CVE-2020-0604?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
