CVE-2019-1387: High severity git-scm Git vulnerability
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.
Other sources
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.
References:
https://kernel.googlesource.com/pub/scm/git/git/+/refs/tags/v2.24.1/Documentation/RelNotes/2.14.6.txt
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/gitto a version that resolves this vulnerability.Fixed in 1:2.20.1-2+deb10u3Fixed in 1:2.20.1-2+deb10u8Fixed in 1:2.30.2-1+deb11u2Fixed in 1:2.39.2-1.1Fixed in 1:2.42.0-1 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.24.1 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.23.1 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.22.2 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.21.1 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.20.2 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.19.3 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.18.2 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.17.3 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.16.6 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.15.4 - Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 2.14.6 - Upgrade
Upgrade
alpine/gitto a version that resolves this vulnerability.Fixed in 2.22.2-r0 - Upgrade
Upgrade
alpine/gitto a version that resolves this vulnerability.Fixed in 2.24.1-r0 - Upgrade
Upgrade
alpine/gitto a version that resolves this vulnerability.Fixed in 2.15.4-r0 - Upgrade
Upgrade
alpine/gitto a version that resolves this vulnerability.Fixed in 2.18.2-r0 - Upgrade
Upgrade
alpine/gitto a version that resolves this vulnerability.Fixed in 2.20.2-r0 - Upgrade
Upgrade
alpine/libgit2to a version that resolves this vulnerability.Fixed in 0.28.4-r0 - Upgrade
Upgrade
alpine/libgit2-1.0to a version that resolves this vulnerability.Fixed in 0.28.4-r0 - Upgrade
Upgrade
alpine/libgit2-1.1to a version that resolves this vulnerability.Fixed in 0.28.4-r0
Event History
Frequently Asked Questions
What is the severity of CVE-2019-1387?
The severity of CVE-2019-1387 is high (8.8).
How does the vulnerability CVE-2019-1387 affect Git?
The vulnerability CVE-2019-1387 affects Git versions 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.
What is the vulnerability CVE-2019-1387?
The vulnerability CVE-2019-1387 is caused by too-lax validation of submodule names in Git, allowing targeted attacks via remote code execution.
How can I fix the vulnerability CVE-2019-1387?
To fix the vulnerability CVE-2019-1387, users should update Git to versions 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, or v2.14.6.
Where can I find more information about the vulnerability CVE-2019-1387?
More information about the vulnerability CVE-2019-1387 can be found at the following references: [link1], [link2], [link3].