CVE-2018-17456: Canonical Ubuntu Linux
Critical severity, CVSS 9.8. EPSS: 97% probability of exploitation activity in the next 30 days.
Git before 2.14.5, 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, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Git-Scm Git, from 2.14.0, before 2.14.5: fixed in 2.14.5
- Git-Scm Git, from 2.15.0, before 2.15.3: fixed in 2.15.3
- Git-Scm Git, from 2.16.0, before 2.16.5: fixed in 2.16.5
- Git-Scm Git, from 2.17.0, before 2.17.2: fixed in 2.17.2
- Git-Scm Git, from 2.18.0, before 2.18.1: fixed in 2.18.1
- Git-Scm Git, from 2.19.0, before 2.19.1: fixed in 2.19.1
Affected products
- Canonical Ubuntu Linux: version 14.04 only; version 16.04 only; version 18.04 only
- Debian Debian Linux: version 9.0 only
- Git-Scm Git: from 2.14.0, before 2.14.5 (fixed in 2.14.5); from 2.15.0, before 2.15.3 (fixed in 2.15.3); from 2.16.0, before 2.16.5 (fixed in 2.16.5); from 2.17.0, before 2.17.2 (fixed in 2.17.2); from 2.18.0, before 2.18.1 (fixed in 2.18.1); from 2.19.0, before 2.19.1 (fixed in 2.19.1)
- Red Hat Ansible Tower: version 3.3 only
- Red Hat Enterprise Linux: version 6.0 only; version 6.7 only; version 7.0 only; version 7.3 only; version 7.4 only; version 7.5 only; …
- Red Hat Enterprise Linux Desktop: version 7.0 only
- Red Hat Enterprise Linux Server: version 7.0 only
- Red Hat Enterprise Linux Server Aus: version 7.6 only
- Red Hat Enterprise Linux Server Eus: version 7.6 only
- Red Hat Enterprise Linux Server Tus: version 7.6 only
- Red Hat Enterprise Linux Workstation: version 7.0 only
Published 2018-10-06. Last modified 2026-06-17.