# CVE-2019-1387

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-12-18 · Modified: 2025-11-04
- Aliases: ALPINE-CVE-2019-1387, RHSA-2020:0124, UBUNTU-CVE-2019-1387, DEBIAN-CVE-2019-1387
- Record: https://cvemate.com/vulnerability/CVE-2019-1387 · JSON: https://cvemate.com/vulnerability/CVE-2019-1387/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 4.426%, percentile 91.629%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 27)

- alpine git (Alpine Linux): ≥ 2.14.0, \< 2.22.2-r0 \| ≥ 2.14.0, \< 2.24.1-r0 \| ≥ 2.14.0, \< 2.15.4-r0 \| ≥ 2.14.0, \< 2.18.2-r0 \| ≥ 2.14.0, \< 2.20.2-r0 \| ≥ 2.22.0, \< 2.22.2-r0 \| ≥ 2.22.0, \< 2.24.1-r0 \| ≥ 2.15.0, \< 2.15.4-r0 \| ≥ 2.18.0, \< 2.18.2-r0 \| ≥ 2.20.0, \< 2.20.2-r0
- alpine libgit2 (Alpine Linux): \< 0.28.4-r0
- alpine libgit2-1.0 (Alpine Linux): \< 0.28.4-r0
- alpine libgit2-1.1 (Alpine Linux): \< 0.28.4-r0
- debian git (Debian): \< 1:2.24.0-2
- ubuntu git (Ubuntu): \< 1:2.7.4-0ubuntu1.7 \| \< 1:2.17.1-1ubuntu0.5
- git-scm git: ≥ 2.14.0, \< 2.14.6 \| ≥ 2.15.0, \< 2.15.4 \| ≥ 2.16.0, \< 2.16.6 \| ≥ 2.17.0, \< 2.17.3 \| ≥ 2.18.0, \< 2.18.2 \| ≥ 2.19.0, \< 2.19.3 \| ≥ 2.20.0, \< 2.20.2 \| ≥ 2.22.0, \< 2.22.2 \| 2.21.0 \| 2.23.0 \| 2.24.0
- microsoft corporation git: \< 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 \| \< v2.14.6
- redhat emacs-git (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat emacs-git-el (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git-all (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git-bzr (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git-cvs (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git-daemon (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git-debuginfo (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git-email (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git-gnome-keyring (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git-gui (Red Hat): \< 0:1.8.3.1-21.el7\_7
- redhat git-hg (Red Hat): \< 0:1.8.3.1-21.el7\_7

## References (first 20 of 26)

- <https://lore.kernel.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/T/#u>
- <https://access.redhat.com/errata/RHSA-2019:4356>
- <https://access.redhat.com/errata/RHSA-2020:0002>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N6UGTEOXWIYSM5KDZL74QD2GK6YQNQCP/>
- <https://access.redhat.com/errata/RHSA-2020:0124>
- <https://lists.debian.org/debian-lts-announce/2020/01/msg00019.html>
- <https://public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/>
- <http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html>
- <https://access.redhat.com/errata/RHSA-2020:0228>
- <https://security.gentoo.org/glsa/202003-30>
- <https://security.gentoo.org/glsa/202003-42>
- <http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html>
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00009.html>
- <https://security.alpinelinux.org/vuln/CVE-2019-1387>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1781127>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_0124.json>
- <https://access.redhat.com/security/cve/CVE-2019-1387>
- <https://www.cve.org/CVERecord?id=CVE-2019-1387>

---

Data as of 2026-12-05T03:11:43.284Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
