PT-2018-1883

CVE-2018-11235

·

Published

2018-05-29

·

Updated

2026-09-30

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Git versions prior to 2.13.7 Git versions 2.14.x prior to 2.14.4 Git versions 2.15.x prior to 2.15.2 Git versions 2.16.x prior to 2.16.4 Git versions 2.17.x prior to 2.17.1
Description The issue is related to errors in processing specially formed submodule names in the .gitmodules file. This can allow a remote attacker to execute arbitrary code. The vulnerability can be exploited when a malicious project with a crafted .gitmodules file is cloned using "git clone --recurse-submodules", leading to directory traversal and the execution of post-checkout hooks from a submodule.
Recommendations For Git versions prior to 2.13.7, update to version 2.13.7 or later. For Git versions 2.14.x prior to 2.14.4, update to version 2.14.4 or later. For Git versions 2.15.x prior to 2.15.2, update to version 2.15.2 or later. For Git versions 2.16.x prior to 2.16.4, update to version 2.16.4 or later. For Git versions 2.17.x prior to 2.17.1, update to version 2.17.1 or later. As a temporary workaround, consider avoiding the use of "git clone --recurse-submodules" until a patch is applied.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2018-1992
ALT-PU-2018-2090
CESA-2018_1957
CLEANSTART-2025-DA54613
DSA-4212-1
ELSA-2018-1957
MGASA-2018-0267
OPENSUSE-SU-2018_1553-1
OPENSUSE-SU-2018_2502-1
OPENSUSE-SU-2018_3519-1
OPENSUSE-SU-2020:0598-1
OPENSUSE-SU-2020_0598-1
OPENSUSE-SU-2024:10786-1
OPENSUSE-SU-2024:10943-1
RHSA-2018:1957
RHSA-2018_1957
RHSA-2018:2147
SUSE-SU-2018:1566-1
SUSE-SU-2018_1566-1
SUSE-SU-2018:1566-2
SUSE-SU-2018_1566-2
SUSE-SU-2018:1872-1
SUSE-SU-2018_1872-1
SUSE-SU-2018:2469-1
SUSE-SU-2018_2469-1
SUSE-SU-2018:3440-1
SUSE-SU-2018_3440-1
SUSE-SU-2020:1121-1
USN-3671-1
Found an issue in the description? Have something to add? Feel free to write us 👾