---
title: "CVE-2018-11235\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-11235?format=md
keywords: index, follow
---

# CVE-2018-11235

Publication date 30 May 2018

Last updated 25 August 2025

---

Ubuntu priority

**High**

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

## Cvss 3 Severity Score

**7.8 · High**

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

Toggle side navigation

## Description

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x
before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur.
With a crafted .gitmodules file, a malicious project can execute an
arbitrary script on a machine that runs "git clone --recurse-submodules"
because submodule "names" are obtained from this file, and then appended to
$GIT\_DIR/modules, leading to directory traversal with "../" in a name.
Finally, post-checkout hooks from a submodule are executed, bypassing the
intended design in which hooks are not obtained from a remote server.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| git | 18.04 LTS bionic | Fixed 1:2.17.1-1ubuntu0.1 |
| 17.10 artful | Fixed 1:2.14.1-1ubuntu4.1 |
| 16.04 LTS xenial | Fixed 1:2.7.4-0ubuntu1.4 |
| 14.04 LTS trusty | Fixed 1:1.9.1-1ubuntu0.8 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.8 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3671-1](https://usn.ubuntu.com/USN-3671-1)
+ Git vulnerabilities
+ 5 June 2018

### Other references

* <https://lkml.org/lkml/2018/5/29/889>
* <https://www.cve.org/CVERecord?id=CVE-2018-11235>
