CVE-2018-11235 - CVE House
Back to Database
Status published High CVE-2018-11235

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2,...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2018-11235

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

debian linux, ubuntu linux, enterprise linux, enterprise linux desktop, enterprise linux server, enterprise linux server eus, enterprise linux workstation, git
Vulnerable Versions:
8.0, 9.0, 14.04, 16.04, 17.10, 18.04, 7.0, 7.5, 0, 2.14.0, 2.15.0, 2.16.0, 2.17.0

Timeline

Official Publish: May 30th, 2018
Last Modified: August 5th, 2024
Added to House: July 20th, 2026

CVSS Vectors

V3: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.