CVE-2019-1387
publishedgit: Remote code execution in recursive clones with nested submodules
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Microsoft Corporation | — | GitBefore v2.24.1 · Before v2.23.1 · Before v2.22.2 · Before v2.21.1 · Before v2.20.2 · Before v2.19.3 · Before v2.18.2 · Before v2.17.3 · Before v2.16.6 · Before v2.15.4 · Before v2.14.6 | Affected | Not stated | microsoft |
| git | — | git0 to < 2,24.1 · 0 to < 2.23.1 · 0 to < 2.22.2 · 0 to < 2.21.1 · 0 to < 2.20.2 · 0 to < 2.19.3 · 0 to < 2.18.2 · 0 to < 2.17.3 · 0 to < 2.16.6 · 0 to < 2.15.4 · 0 to < 2.14.6 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1371 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2818 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | git | Fixed | 2.24.1-r0 | Package fix record |
| Debian | bullseye | git | Advisory build | 1:2.30.2-1+deb11u3 | DLA-3867-1 |
| Oracle Linux | 7 | gitaarch64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Red Hat Enterprise Linux | RHEL-7 | gitppc64 | Advisory build | 1.8.3.1-21.el7_7 | RHSA-2020:0124 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP4 | gitaarch64 | Advisory build | 2.12.3-27.22.1 | SUSE-SU-2019:3311-1 |
| Ubuntu | bionic | git | Advisory build | 1:2.17.1-1ubuntu0.5 | USN-4220-1 |
| Alpine Linux | v3.10 | git | Fixed | 2.22.2-r0 | Package fix record |
| Alpine Linux | v3.11 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.12 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.13 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.14 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.15 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.16 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.17 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.18 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.19 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.20 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.21 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.22 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.23 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.24 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.7 | git | Fixed | 2.15.4-r0 | Package fix record |
| Alpine Linux | v3.8 | git | Fixed | 2.18.2-r0 | Package fix record |
| Alpine Linux | v3.9 | git | Fixed | 2.20.2-r0 | Package fix record |
| Debian | buster | git | Advisory build | 1:2.20.1-2+deb10u1 | DSA-4581-1 |
| Debian | buster | git | Advisory build | 1:2.20.1-2+deb10u9 | DLA-3844-1 |
| Debian | jessie | git | Advisory build | 1:2.1.4-2.1+deb8u8 | DLA-2059-1 |
| Debian | stretch | git | Advisory build | 1:2.11.0-3+deb9u5 | DSA-4581-1 |
| Oracle Linux | 7 | gitx86_64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 8 | gitaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | gitx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Red Hat Enterprise Linux | RHEL-7 | gitppc64le | Advisory build | 1.8.3.1-21.el7_7 | RHSA-2020:0124 |
| Red Hat Enterprise Linux | RHEL-7 | gits390x | Advisory build | 1.8.3.1-21.el7_7 | RHSA-2020:0124 |
| Red Hat Enterprise Linux | RHEL-7 | gitsrc | Advisory build | 1.8.3.1-21.el7_7 | RHSA-2020:0124 |
| Red Hat Enterprise Linux | RHEL-7 | gitx86_64 | Advisory build | 1.8.3.1-21.el7_7 | RHSA-2020:0124 |
| Red Hat Enterprise Linux | RHEL-8 | gitaarch64 | Advisory build | 2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.18.2-1.el8_0 | RHSA-2020:0228 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux | RHEL-8 | gits390x | Advisory build | 2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.18.2-1.el8_0 | RHSA-2020:0228 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.18.2-1.el8_0 | RHSA-2020:0228 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.18.2-1.el8_1 | RHSA-2019:4356 |
| SUSE / openSUSE | SLE-12-SP4 | gitppc64le | Advisory build | 2.12.3-27.22.1 | SUSE-SU-2019:3311-1 |
| SUSE / openSUSE | SLE-12-SP4 | gits390x | Advisory build | 2.12.3-27.22.1 | SUSE-SU-2019:3311-1 |
| SUSE / openSUSE | SLE-12-SP4 | gitx86_64 | Advisory build | 2.12.3-27.22.1 | SUSE-SU-2019:3311-1 |
| SUSE / openSUSE | SLE-12-SP5 | gitaarch64 | Advisory build | 2.12.3-27.22.1 | SUSE-SU-2019:3311-1 |
| SUSE / openSUSE | SLE-12-SP5 | gitppc64le | Advisory build | 2.12.3-27.22.1 | SUSE-SU-2019:3311-1 |
| SUSE / openSUSE | SLE-12-SP5 | gits390x | Advisory build | 2.12.3-27.22.1 | SUSE-SU-2019:3311-1 |
| SUSE / openSUSE | SLE-12-SP5 | gitx86_64 | Advisory build | 2.12.3-27.22.1 | SUSE-SU-2019:3311-1 |
| SUSE / openSUSE | SLE-15 | gitaarch64 | Advisory build | 2.16.4-3.17.2 | SUSE-SU-2020:0045-1 |
| SUSE / openSUSE | SLE-15 | gitppc64le | Advisory build | 2.16.4-3.17.2 | SUSE-SU-2020:0045-1 |
| SUSE / openSUSE | SLE-15 | gits390x | Advisory build | 2.16.4-3.17.2 | SUSE-SU-2020:0045-1 |
| SUSE / openSUSE | SLE-15 | gitx86_64 | Advisory build | 2.16.4-3.17.2 | SUSE-SU-2020:0045-1 |
| SUSE / openSUSE | SLE-15-SP1 | gitaarch64 | Advisory build | 2.16.4-3.17.2 | SUSE-SU-2020:0045-1 |
| SUSE / openSUSE | SLE-15-SP1 | gitaarch64 | Advisory build | 2.26.1-3.25.2 | SUSE-SU-2020:1121-1 |
| SUSE / openSUSE | SLE-15-SP1 | gitppc64le | Advisory build | 2.16.4-3.17.2 | SUSE-SU-2020:0045-1 |
| SUSE / openSUSE | SLE-15-SP1 | gitppc64le | Advisory build | 2.26.1-3.25.2 | SUSE-SU-2020:1121-1 |
| SUSE / openSUSE | SLE-15-SP1 | gits390x | Advisory build | 2.16.4-3.17.2 | SUSE-SU-2020:0045-1 |
| SUSE / openSUSE | SLE-15-SP1 | gits390x | Advisory build | 2.26.1-3.25.2 | SUSE-SU-2020:1121-1 |
| SUSE / openSUSE | SLE-15-SP1 | gitx86_64 | Advisory build | 2.16.4-3.17.2 | SUSE-SU-2020:0045-1 |
| SUSE / openSUSE | SLE-15-SP1 | gitx86_64 | Advisory build | 2.26.1-3.25.2 | SUSE-SU-2020:1121-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | giti586 | Advisory build | 2.16.4-lp151.4.3.1 | OPENSUSE-SU-2020:0123-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | gitx86_64 | Advisory build | 2.16.4-lp151.4.3.1 | OPENSUSE-SU-2020:0123-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | gitx86_64 | Advisory build | 2.26.1-lp151.4.9.1 | OPENSUSE-SU-2020:0598-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitaarch64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitppc64le | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gits390x | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitx86_64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| Ubuntu | xenial | git | Advisory build | 1:2.7.4-0ubuntu1.7 | USN-4220-1 |
| Alpine Linux | edge | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.11 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.12 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.13 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.13 | libgit2-1.0 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.14 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.14 | libgit2-1.0 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.15 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.15 | libgit2-1.1 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.16 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.16 | libgit2-1.1 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.17 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.18 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.19 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.20 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.21 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.22 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.23 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.24 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Oracle Linux | 7 | emacs-gitaarch64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | emacs-gitx86_64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | emacs-git-elaarch64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | emacs-git-elx86_64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | git-allaarch64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | git-allx86_64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | git-bzraarch64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | git-bzrx86_64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | git-cvsaarch64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | git-cvsx86_64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
| Oracle Linux | 7 | git-daemonaarch64 | Advisory build | 0:1.8.3.1-21.el7_7 | ELSA-2020-0124 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Microsoft Corporation | Git | Before v2.24.1 (affected)Before v2.23.1 (affected)Before v2.22.2 (affected)Before v2.21.1 (affected)Before v2.20.2 (affected)Before v2.19.3 (affected)Before v2.18.2 (affected)Before v2.17.3 (affected)Before v2.16.6 (affected)Before v2.15.4 (affected)Before v2.14.6 (affected) | microsoft · cna |
| git | git | 0 to < 2,24.1 (affected · custom)0 to < 2.23.1 (affected · custom)0 to < 2.22.2 (affected · custom)0 to < 2.21.1 (affected · custom)0 to < 2.20.2 (affected · custom)0 to < 2.19.3 (affected · custom)0 to < 2.18.2 (affected · custom)0 to < 2.17.3 (affected · custom)0 to < 2.16.6 (affected · custom)0 to < 2.15.4 (affected · custom)0 to < 2.14.6 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- Remote Code Execution
References
14- openSUSE-SU-2020:0123 http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html
- openSUSE-SU-2020:0598 http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
- RHSA-2019:4356 https://access.redhat.com/errata/RHSA-2019:4356
- RHSA-2020:0002 https://access.redhat.com/errata/RHSA-2020:0002
- RHSA-2020:0124 https://access.redhat.com/errata/RHSA-2020:0124
- RHSA-2020:0228 https://access.redhat.com/errata/RHSA-2020:0228
- [debian-lts-announce] 20200123 [SECURITY] [DLA 2059-1] git security update https://lists.debian.org/debian-lts-announce/2020/01/msg00019.html
- [debian-lts-announce] 20240626 [SECURITY] [DLA 3844-1] git security update https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00009.html
- FEDORA-2019-1cec196e20 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
- https://public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/
- GLSA-202003-30 https://security.gentoo.org/glsa/202003-30
- GLSA-202003-42 https://security.gentoo.org/glsa/202003-42
Provider assertions
3microsoft · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9ea76217428c434c7d092bec2ad8a2e7010363841f71e3ef351082be76f12d30
- Ingested
- 23 Sep 2026, 07:46:37 UTC
- Source record
- Official CVE record