CVEfocus › CVE database › CVE-2019-1387

CVE-2019-1387

CVSS 8.8 HighEPSS 4.4% (higher than 92% of CVEs)Published 2019-12-18Updated 2025-11-04Assigner: microsoft

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

73Fixed
12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04gitFixed1:2.17.1-1ubuntu0.5UBUNTU-CVE-2019-1387
Ubuntu 16.04gitFixed1:2.7.4-0ubuntu1.7UBUNTU-CVE-2019-1387
Debian 14gitFixed1:2.24.0-2DEBIAN-CVE-2019-1387
Debian 13gitFixed1:2.24.0-2DEBIAN-CVE-2019-1387
Debian 12gitFixed1:2.24.0-2DEBIAN-CVE-2019-1387
Red Hat Enterprise Linux 8gitFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8git-allFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8git-coreFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8git-core-docFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8git-daemonFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8git-emailFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8git-guiFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8git-instawebFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8git-subtreeFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8git-svnFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8gitkFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8gitwebFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8perl-GitFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 8perl-Git-SVNFixed0:2.18.2-1.el8_1RHSA-2019:4356
Red Hat Enterprise Linux 7emacs-gitFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7emacs-git-elFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7gitFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-allFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-bzrFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-cvsFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-daemonFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-emailFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-gnome-keyringFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-guiFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-hgFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-instawebFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-p4Fixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7git-svnFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7gitkFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7gitwebFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7perl-GitFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 7perl-Git-SVNFixed0:1.8.3.1-21.el7_7RHSA-2020:0124
Red Hat Enterprise Linux 6emacs-gitNot affected
Red Hat Enterprise Linux 6emacs-git-elNot affected
Red Hat Enterprise Linux 6gitNot affected
Red Hat Enterprise Linux 6git-allNot affected
Red Hat Enterprise Linux 6git-cvsNot affected
Red Hat Enterprise Linux 6git-daemonNot affected
Red Hat Enterprise Linux 6git-emailNot affected
Red Hat Enterprise Linux 6git-guiNot affected
Red Hat Enterprise Linux 6git-svnNot affected
Red Hat Enterprise Linux 6gitkNot affected
Red Hat Enterprise Linux 6gitwebNot affected
Red Hat Enterprise Linux 6perl-GitNot affected
Alpine Linux 3.24gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.24libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.23gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.23libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.22gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.22libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.21gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.21libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.20gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.20libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.19gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.19libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.18gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.18libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.17gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.17libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.16gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.16libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.16libgit2-1.1Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.15gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.15libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.15libgit2-1.1Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.14gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.14libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.14libgit2-1.0Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.13gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.13libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.13libgit2-1.0Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.12gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.12libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.11gitFixed2.24.1-r0ALPINE-CVE-2019-1387
Alpine Linux 3.11libgit2Fixed0.28.4-r0ALPINE-CVE-2019-1387
Alpine Linux 3.10gitFixed2.22.2-r0ALPINE-CVE-2019-1387
Alpine Linux 3.9gitFixed2.20.2-r0ALPINE-CVE-2019-1387
Alpine Linux 3.8gitFixed2.18.2-r0ALPINE-CVE-2019-1387
Alpine Linux 3.7gitFixed2.15.4-r0ALPINE-CVE-2019-1387

What the vendor says

As published in the CVE record by microsoft, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.