CVE-2018-11235 Details
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
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| debian debian linux | 8.0 9.0 |
CPE
Remediation
| |
| canonical ubuntu linux | 14.04 16.04 17.10 18.04 |
CPE
Remediation
| |
| redhat enterprise linux | 7.0 |
CPE
Remediation
| |
| redhat enterprise linux desktop | 7.0 |
CPE
Remediation
| |
| redhat enterprise linux server | 7.0 |
CPE
Remediation
| |
| redhat enterprise linux server eus | 7.5 |
CPE
Remediation
| |
| redhat enterprise linux workstation | 7.0 |
CPE
Remediation
| |
| git-scm git | <= 2.13.6 >= 2.14.0, <= 2.14.3 >= 2.15.0, <= 2.15.1 >= 2.16.0, <= 2.16.3 2.17.0 |
CPE
Remediation
| |
| gitforwindows git | <= 2.17.1 |
CPE
Remediation
| |
Change History
14 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 2, 2020 | CVE Modified | [email protected] |
| Oct 3, 2019 | CWE Remap | [email protected] |
| Mar 29, 2019 | Modified Analysis | [email protected] |
| Oct 21, 2018 | CVE Modified | [email protected] |
| Jul 12, 2018 | CVE Modified | [email protected] |
| Jul 2, 2018 | Initial Analysis | [email protected] |
| Jun 22, 2018 | CVE Modified | [email protected] |
| Jun 8, 2018 | CVE Modified | [email protected] |
| Jun 4, 2018 | CVE Modified | [email protected] |
| Jun 2, 2018 | CVE Modified | [email protected] |
| May 31, 2018 | CVE Modified | [email protected] |