PT-2018-2296

CVE-2018-17456

·

Published

2018-10-05

·

Updated

2026-09-30

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Git versions 2.14.5 and earlier, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, 2.19.x before 2.19.1
Description The issue is related to the incorrect handling of the recursive git clone task applied to a superproject, where the .gitmodules file has a URL field starting with a '-' character. This can allow a remote attacker to execute arbitrary code.
Recommendations For Git versions 2.14.5 and earlier, update to version 2.14.5 or later. For Git versions 2.15.x before 2.15.3, update to version 2.15.3 or later. For Git versions 2.16.x before 2.16.5, update to version 2.16.5 or later. For Git versions 2.17.x before 2.17.2, update to version 2.17.2 or later. For Git versions 2.18.x before 2.18.1, update to version 2.18.1 or later. For Git versions 2.19.x before 2.19.1, update to version 2.19.1 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2018-2459
ALT-PU-2018-2462
CESA-2018_3408
CESA-2020_0316
CLEANSTART-2026-QG10579
DLA-1533-1
DSA-4311-1
ELSA-2018-3408
ELSA-2020-0316
MGASA-2018-0395
OPENSUSE-SU-2018_3109-1
OPENSUSE-SU-2018_3178-1
OPENSUSE-SU-2018_4051-1
OPENSUSE-SU-2020:0598-1
OPENSUSE-SU-2020_0598-1
OPENSUSE-SU-2024:10786-1
OPENSUSE-SU-2024:10943-1
RHSA-2018:3408
RHSA-2018_3408
RHSA-2018:3541
RHSA-2020:0316
RHSA-2020_0316
SUSE-SU-2018:3150-1
SUSE-SU-2018_3150-1
SUSE-SU-2018:4009-1
SUSE-SU-2018_4009-1
SUSE-SU-2018:4088-1
SUSE-SU-2018_4088-1
SUSE-SU-2018:4088-2
SUSE-SU-2018_4088-2
SUSE-SU-2018:4088-3
SUSE-SU-2018_4088-3
SUSE-SU-2020:1121-1
SUSE-SU-2020_1121-1
USN-3791-1
Found an issue in the description? Have something to add? Feel free to write us 👾