VDB

CVE-2019-1387

CVE-2019-1387 PUBLISHED

Reported by microsoft · Published December 18, 2019

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
git-p4Amazon Linux2.23.1-0.amzn2.0.2
gitAmazon Linux2.23.1-0.amzn2.0.2
libgit2Alpine0.28.4-r0
gitwebAmazon Linux2.23.1-0.amzn2.0.2
git-subtreeAmazon Linux2.23.1-0.amzn2.0.2
perl-GitAmazon Linux2.23.1-0.amzn2.0.2
git-core-docAmazon Linux2.23.1-0.amzn2.0.2
git-daemonAmazon Linux2.23.1-0.amzn2.0.2
gitkAmazon Linux2.23.1-0.amzn2.0.2
libgit2-1.0Alpine0.28.4-r0
git-emailAmazon Linux2.23.1-0.amzn2.0.2
git-coreAmazon Linux2.23.1-0.amzn2.0.2

14 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
Microsoft CorporationGitBefore v2.24.1, Before v2.23.1, Before v2.22.2
amazon:2git-p40
amazon:2git0
alpinelibgit20
amazon:2gitweb0
amazon:2git-subtree0
amazon:2perl-Git0
amazon:2git-core-doc0
amazon:2git-daemon0
amazon:2gitk0
alpinelibgit2-1.00
amazon:2git-email0
amazon:2git-core0
alpinegit0, 0, 0
amazon:2git-svn0
amazon:2git-gui0
amazon:2git-all0
alpinelibgit2-1.10
amazon:2git-instaweb0
archlibgit20

…and 5 more

Timeline

  • Dec 9, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (14 in total, the first dated here)
  • Sep 14, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-1387
vulnetix vdb fixes CVE-2019-1387

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-1387/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›