VDB
ALPINE-CVE-2018-11235
ALPINE-CVE-2018-11235
PUBLISHED
CVSS 7.800000190734863 HIGH
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.
Risk Scores
CVSS 3.0
7.800000190734863
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.23 | git | 1.7.5.4-r1, 1.7.5.4-r0, 1.7.5.3-r0 |
| Alpine:v3.11 | git | 2.14.0-r1, 2.9.2-r0, 2.9.3-r0 |
| Alpine:v3.10 | git | 1.8.2.3-r0, 1.6.0.4-r1, 1.6.0.4-r2 |
| Alpine:v3.5 | git | 1.6.1-r0, 1.6.1.3-r0, 1.6.1.3-r1 |
| Alpine:v3.16 | git | 1.7.9.4-r0, 1.7.9.6-r0, 1.8.0-r0 |
| Alpine:v3.20 | git | 1.7.3.2-r0, 1.7.3.1-r0, 1.7.2.3-r0 |
| Alpine:v3.6 | git | 1.6.5.5-r0, 1.6.5.7-r0, 1.6.6-r0 |
| Alpine:v3.7 | git | 2.3.0-r0, 2.2.1-r0, 2.15.0-r1 |
| Alpine:v3.24 | git | 0 |
| Alpine:v3.15 | git | 2.15.1-r0, 2.15.0-r1, 2.15.0-r0 |
| Alpine:v3.8 | git | 2.13.3-r0, 1.8.4.1-r0, 1.8.4-r0 |
| Alpine:v3.21 | git | 1.7.9-r0, 1.6.0.4-r1, 1.6.0.4-r2 |
| Alpine:v3.12 | git | 1.6.0.4-r1, 1.6.0.4-r2, 1.6.1-r0 |
| Alpine:v3.17 | git | 0, 2.9.3-r0, 2.9.2-r0 |
| Alpine:v3.13 | git | 2.0.4-r0, 0, 2.9.3-r0 |
| Alpine:v3.19 | git | 0, 2.9.3-r0, 2.9.2-r0 |
| Alpine:v3.14 | git | 2.3.4-r0, 0, 1.6.0.4-r1 |
| Alpine:v3.22 | git | 1.7.2.2-r0, 0, 0 |
| Alpine:v3.18 | git | 1.6.0.4-r1, 1.8.3.3-r0, 1.8.3.4-r0 |
| Alpine:v3.9 | git | 0, 1.8.5.3-r0, 1.8.5.3-r1 |
Exploit Intelligence
- CVE-2018-11235 (Git) (github-poc-repo)
- Proof of Concept - RCE Exploitation : Git submodules' names vulnerability - Ensimag November 2018 (github-poc-repo)
- CVE-2018-11235(PoC && Exp) (github-poc-repo)
- 0rx1/CVE-2018-11235 (github-poc-repo)
- cchang27/CVE-2018-11235-test (github-poc-repo)
- nthuong95/CVE-2018-11235 (github-poc-repo)
- xElkomy/CVE-2018-11235 (github-poc-repo)
- PoC exploit for CVE-2018-11235 allowing RCE on git clone --recurse-submodules (github-poc-repo)
- PoC exploit for CVE-2018-11235 allowing RCE on git clone --recurse-submodules (github-poc-repo)
- MohamedTarekq/test-CVE-2018-11235 (github-poc-repo)
…and 26 more exploits
Timeline
- May 30, 2018 CVE Published
- Apr 30, 2026 Distribution Patch
- Jun 9, 2026 CVE Updated