You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
Description
In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
OR
*cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions up to (including) 2.13.6
*cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.14.0 up to (including) 2.14.3
*cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.15.0 up to (including) 2.15.1
*cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.16.0 up to (including) 2.16.3
*cpe:2.3:a:git-scm:git:2.17.0:*:*:*:*:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:a:gitforwindows:git:*:*:*:*:*:*:*:* versions up to (including) 2.17.1
Added
CPE Configuration
OR
*cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
*cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
*cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
*cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
Changed
Reference Type
http://www.securityfocus.com/bid/104345 No Types Assigned
http://www.securityfocus.com/bid/104345 Third Party Advisory, VDB Entry
Changed
Reference Type
http://www.securitytracker.com/id/1040991 No Types Assigned
http://www.securitytracker.com/id/1040991 Third Party Advisory, VDB Entry
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2018:1957 No Types Assigned
https://access.redhat.com/errata/RHSA-2018:1957 Third Party Advisory
Changed
Reference Type
https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/ No Types Assigned