CVE-2019-1387 — Git for Visual Studio Remote Code Execution Vulnerability
Executive Summary
A remote code execution vulnerability exists when Git for Visual Studio improperly sanitizes input. An attacker who successfully exploited this vulnerability could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. To exploit the vulnerability, an attacker would first need to convince the user to clone a malicious repo. The security update addresses the vulnerability by correcting how Git for Visual Studio validates command-line input.
Overview
EPSS Score
Affected Products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Microsoft Visual Studio 2017 version 15.0 | Release Notes (Security Update) |
Critical | Remote Code Execution | Maybe |
| Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) | Release Notes (Security Update) |
Critical | Remote Code Execution | Maybe |
| Microsoft Visual Studio 2019 version 16.0 | Release Notes (Security Update) |
Critical | Remote Code Execution | Maybe |
| Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3) | Release Notes (Security Update) |
Critical | Remote Code Execution | Maybe |
Patches
| Article | Type | Restart |
|---|---|---|
Release Notes |
Security Update | Maybe |
Known Exploits
Acknowledgments
@CTurtE ) and Nicolas Joly (@n_joly) of Microsoft Corporation