SecurityContext

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

IdName
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
UrlTags
https://access.redhat.com/errata/RHSA-2019:4356Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
https://access.redhat.com/errata/RHSA-2020:0002
https://access.redhat.com/errata/RHSA-2020:0124
https://access.redhat.com/errata/RHSA-2020:0228
https://lists.debian.org/debian-lts-announce/2020/01/msg00019.html
https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N6UGTEOXWIYSM5KDZL74QD2GK6YQNQCP/
https://lore.kernel.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/T/#u

Products

ProductAffectedPlatform boundSourcesUrl
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.6nonvd/v1/products/git-scm/git

Projects

RepositoryLink kindsIndexedUrl
git/gitfixyes/v1/repositories/git/git
git-for-windows/gitfixyes/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