CVE-2019-1387: Git - Remote Code Execution
- Cve: CVE-2019-1387
- Name: Git - Remote Code Execution
- Description: An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. Recursive clones are currently affected by a vulnerability that is caused by too-lax validation of submodule names, allowing very targeted attacks via remote code execution in recursive clones.
- Impact: Attackers can execute arbitrary code during recursive clone operations, potentially leading to remote code execution on the host system.
- Remediation: Update to Git version 2.24.1 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.04426
- Epss percentile: 0.91602
- Assignee: [email protected]
- Published at: 2019-12-18T21:15:13Z
- Age in days: 2533
- Modified at: 2026-06-17T02:28:30Z
- Patch available: yes
- References total: 14
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-1387
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| git-scm:git | = 2.24.0; = 2.23.0; >= 2.22.0, < 2.22.2; = 2.21.0; >= 2.20.0, < 2.20.2; >= 2.19.0, < 2.19.3; >= 2.18.0, < 2.18.2; >= 2.17.0, < 2.17.3; >= 2.16.0, < 2.16.6; >= 2.15.0, < 2.15.4; >= 2.14.0, < 2.14.6 | no | nvd | /v1/products/git-scm/git |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| git/git | fix | yes | /v1/repositories/git/git |
| git-for-windows/git | fix | yes | /v1/repositories/git-for-windows/git |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 391
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports