---
title: "CVE-2018-17456\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-17456?format=md
keywords: index, follow
---

# CVE-2018-17456

Publication date 6 October 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2018-17456?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| git | 18.04 LTS bionic | Fixed 1:2.17.1-1ubuntu0.3 |
| 16.04 LTS xenial | Fixed 1:2.7.4-0ubuntu1.5 |
| 14.04 LTS trusty | Fixed 1:1.9.1-1ubuntu0.9 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2018-17456?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| git | * Upstream:   [?id=98a](https://git.kernel.org/pub/scm/git/git.git/commit/?id=98afac7a7cefdca0d2c4917dd8066a59f7088265) * Upstream:   [?id=f6a](https://git.kernel.org/pub/scm/git/git.git/commit/?id=f6adec4e329ef0e25e14c63b735a5956dc67b8bc) * Upstream:   [?id=273](https://git.kernel.org/pub/scm/git/git.git/commit/?id=273c61496f88c6495b886acb1041fe57965151da) * Upstream:   [?id=a12](https://git.kernel.org/pub/scm/git/git.git/commit/?id=a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46) * Upstream:   [?id=1a7](https://git.kernel.org/pub/scm/git/git.git/commit/?id=1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17456)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-17456)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-17456)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-17456)

### Related Ubuntu Security Notices (USN)

+ [USN-3791-1](https://usn.ubuntu.com/USN-3791-1)
+ Git vulnerability
+ 12 October 2018

### Other references

* <https://public-inbox.org/git/xmqqy3bcuy3l.fsf@gitster-ct.c.googlers.com/>
* <https://www.cve.org/CVERecord?id=CVE-2018-17456>
