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

Published 2018-10-06. Last modified 2026-06-17.