CVE-2019-1387
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| git-p4 | Amazon Linux | 2.23.1-0.amzn2.0.2 |
| git | Amazon Linux | 2.23.1-0.amzn2.0.2 |
| libgit2 | Alpine | 0.28.4-r0 |
| gitweb | Amazon Linux | 2.23.1-0.amzn2.0.2 |
| git-subtree | Amazon Linux | 2.23.1-0.amzn2.0.2 |
| perl-Git | Amazon Linux | 2.23.1-0.amzn2.0.2 |
| git-core-doc | Amazon Linux | 2.23.1-0.amzn2.0.2 |
| git-daemon | Amazon Linux | 2.23.1-0.amzn2.0.2 |
| gitk | Amazon Linux | 2.23.1-0.amzn2.0.2 |
| libgit2-1.0 | Alpine | 0.28.4-r0 |
| git-email | Amazon Linux | 2.23.1-0.amzn2.0.2 |
| git-core | Amazon Linux | 2.23.1-0.amzn2.0.2 |
14 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Microsoft Corporation | Git | Before v2.24.1, Before v2.23.1, Before v2.22.2 |
| amazon:2 | git-p4 | 0 |
| amazon:2 | git | 0 |
| alpine | libgit2 | 0 |
| amazon:2 | gitweb | 0 |
| amazon:2 | git-subtree | 0 |
| amazon:2 | perl-Git | 0 |
| amazon:2 | git-core-doc | 0 |
| amazon:2 | git-daemon | 0 |
| amazon:2 | gitk | 0 |
| alpine | libgit2-1.0 | 0 |
| amazon:2 | git-email | 0 |
| amazon:2 | git-core | 0 |
| alpine | git | 0, 0, 0 |
| amazon:2 | git-svn | 0 |
| amazon:2 | git-gui | 0 |
| amazon:2 | git-all | 0 |
| alpine | libgit2-1.1 | 0 |
| amazon:2 | git-instaweb | 0 |
| arch | libgit2 | 0 |
…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
References
- RHSA-2019:4356 vendor-advisory
- RHSA-2020:0002 vendor-advisory
- FEDORA-2019-1cec196e20 vendor-advisory
- RHSA-2020:0124 vendor-advisory
- [debian-lts-announce] 20200123 [SECURITY] [DLA 2059-1] git security update mailing-list
- openSUSE-SU-2020:0123 vendor-advisory
- RHSA-2020:0228 vendor-advisory
- GLSA-202003-30 vendor-advisory
- GLSA-202003-42 vendor-advisory
- openSUSE-SU-2020:0598 vendor-advisory
- [debian-lts-announce] 20240626 [SECURITY] [DLA 3844-1] git security update mailing-list
- https://lists.debian.org/debian-lts-announce/2024/09/msg00009.html advisory