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

# CVE-2017-8386

Publication date 10 May 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**8.8 · High**

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

Toggle side navigation

## Description

git-shell in git before 2.4.12, 2.5.x before 2.5.6, 2.6.x before 2.6.7,
2.7.x before 2.7.5, 2.8.x before 2.8.5, 2.9.x before 2.9.4, 2.10.x before
2.10.3, 2.11.x before 2.11.2, and 2.12.x before 2.12.3 might allow remote
authenticated users to gain privileges via a repository name that starts
with a - (dash) character.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2017-8386?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| git | 17.04 zesty | Fixed 1:2.11.0-2ubuntu0.1 |
| 16.10 yakkety | Fixed 1:2.9.3-1ubuntu0.1 |
| 16.04 LTS xenial | Fixed 1:2.7.4-0ubuntu1.1 |
| 14.04 LTS trusty | Fixed 1:1.9.1-1ubuntu0.5 |

---

* [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-2017-8386?format=md#patch-details)

## Notes

---

### [tyhicks](https://launchpad.net/~tyhicks)

Per upstream advisory, 1.6.1 is the earliest version affected

### 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=3ec](https://git.kernel.org/pub/scm/git/git.git/commit/?id=3ec804490a265f4c418a321428c12f3f18b7eff5) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

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

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

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3287-1](https://usn.ubuntu.com/USN-3287-1)
+ Git vulnerability
+ 15 May 2017

### Other references

* <http://lkml.iu.edu/hypermail/linux/kernel/1705.1/01337.html>
* <http://lkml.iu.edu/hypermail/linux/kernel/1705.1/01346.html>
* <https://insinuator.net/2017/05/git-shell-bypass-by-abusing-less-cve-2017-8386/>
* <https://www.cve.org/CVERecord?id=CVE-2017-8386>
