Skip to content
OpenAdvisories
Unscored CVE-2019-1387 EUVD-2019-9944GHSA-9mhc-h3vf-83fw

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. Rec…

Published Dec 18, 2019 · Updated Nov 4, 2025 · Assigned by microsoft

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.

Affected products

VendorProductAffectedFixed
Microsoft Git Before 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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 git 1:2.24.0-2 —
Debian 13 git 1:2.24.0-2 —
Debian 12 git 1:2.24.0-2 —
Debian 11 git 1:2.30.2-1+deb11u3 DLA-3867-1
Debian 10 git 1:2.20.1-2+deb10u1 DSA-4581-1, DLA-3844-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 git 1:2.11.0-3+deb9u5 DSA-4581-1
Debian 8 git 1:2.1.4-2.1+deb8u8 DLA-2059-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS git 1:2.17.1-1ubuntu0.5 USN-4220-1
Ubuntu 16.04 LTS git 1:2.7.4-0ubuntu1.7 USN-4220-1
ReleasePackageFixed inAdvisory
RHEL 8 git +13 2.18.2-1.el8_1 RHSA-2019:4356
RHEL 7 git +17 1.8.3.1-21.el7_7 RHSA-2020:0124
RHEL 3 rh-git218-git +15 2.18.2-1.el7 RHSA-2020:0002
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.0 E4S git +13 2.18.2-1.el8_0 RHSA-2020:0228
ReleasePackageFixed inAdvisory
SLES 15 SP1 git 2.16.4-3.17.2 SUSE-SU-2020:1121-1, SUSE-SU-2020:0045-1
SLES 15 SP1 perl-Authen-SASL 2.16-1.3.1 SUSE-SU-2020:0045-1
SLES 15 SP1 perl-Net-SMTP-SSL 1.04-1.3.1 SUSE-SU-2020:0045-1
SLES 15 git 2.16.4-3.17.2 SUSE-SU-2020:0045-1
SLES 15 perl-Authen-SASL 2.16-1.3.1 SUSE-SU-2020:0045-1
SLES 15 perl-Net-SMTP-SSL 1.04-1.3.1 SUSE-SU-2020:0045-1
SLES 12 SP5 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SLES 12 SP4 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SLES 12 SP3 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SLES 12 SP1 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SLES for SAP 12 SP5 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SLES for SAP 12 SP4 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SLES for SAP 12 SP3 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SLES for SAP 12 SP2 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SUSE OpenStack Cloud 8 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SUSE OpenStack Cloud 7 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SUSE HPE Helion OpenStack 8 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
SUSE Enterprise Storage 5 git 2.12.3-27.22.1 SUSE-SU-2019:3311-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed git 2.33.0-1.3 openSUSE-SU-2024:10786-1
openSUSE Tumbleweed libgit2 1.1.1-1.2 openSUSE-SU-2024:10943-1
openSUSE Leap 15.1 git 2.16.4-lp151.4.3.1 openSUSE-SU-2020:0598-1, openSUSE-SU-2020:0123-1
openSUSE Leap 15.1 perl-Authen-SASL 2.16-lp151.3.3.1 openSUSE-SU-2020:0123-1
openSUSE Leap 15.1 perl-Net-SMTP-SSL 1.04-lp151.3.3.1 openSUSE-SU-2020:0123-1
ReleasePackageFixed inAdvisory
Alpine v3.24 git 2.24.1-r0 —
Alpine v3.24 libgit2 0.28.4-r0 —
Alpine v3.23 git 2.24.1-r0 —
Alpine v3.23 libgit2 0.28.4-r0 —
Alpine v3.22 git 2.24.1-r0 —
Alpine v3.22 libgit2 0.28.4-r0 —
Alpine v3.21 git 2.24.1-r0 —
Alpine v3.21 libgit2 0.28.4-r0 —
Alpine v3.20 git 2.24.1-r0 —
Alpine v3.20 libgit2 0.28.4-r0 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 git 2.24.1-r0 —
Alpine v3.19 libgit2 0.28.4-r0 —
Alpine v3.18 git 2.24.1-r0 —
Alpine v3.18 libgit2 0.28.4-r0 —
Alpine v3.17 git 2.24.1-r0 —
Alpine v3.17 libgit2 0.28.4-r0 —
Alpine v3.16 git 2.24.1-r0 —
Alpine v3.16 libgit2 +1 0.28.4-r0 —
Alpine v3.15 git 2.24.1-r0 —
Alpine v3.15 libgit2 +1 0.28.4-r0 —
Alpine v3.14 git 2.24.1-r0 —
Alpine v3.14 libgit2 +1 0.28.4-r0 —
Alpine v3.13 git 2.24.1-r0 —
Alpine v3.13 libgit2 +1 0.28.4-r0 —
Alpine v3.12 git 2.24.1-r0 —
Alpine v3.12 libgit2 0.28.4-r0 —
Alpine v3.11 git 2.24.1-r0 —
Alpine v3.11 libgit2 0.28.4-r0 —
Alpine v3.10 git 2.22.2-r0 —
Alpine v3.9 git 2.20.2-r0 —
Alpine v3.8 git 2.18.2-r0 —
Alpine v3.7 git 2.15.4-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 git +15 2.23.1-0.amzn2.0.2 ALAS2-2025-2818, ALAS2-2019-1371

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 git +13 2.18.2-1.el8_1 ELSA-2019-4356
Oracle Linux 7 git +17 1.8.3.1-21.el7_7 ELSA-2020-0124

Advisories 22

References