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

# CVE-2017-1000116

Publication date 5 October 2017

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-2017-1000116?format=md#impact-score)

Toggle side navigation

## Description

Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh,
leading to possible shell-injection attacks.

### From the Ubuntu Security Team

It was discovered that Mercurial incorrectly handled hostnames passed
to ssh. An attacker could possibly use this issue to execute arbitrary
code.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mercurial | 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Fixed 4.3.1-2 |
| 17.04 zesty | Ignored end of life |
| 16.04 LTS xenial | Fixed 3.7.3-1ubuntu1.1 |
| 14.04 LTS trusty | Fixed 2.8.2-1ubuntu1.4 |

---

* [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**

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-2017-1000116)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-1000116)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-1000116)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-1000116)

### Other references

* <https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.282017-08-10.29>
* <https://www.mercurial-scm.org/repo/hg/rev/53224b1ffbc2>
* <https://www.mercurial-scm.org/repo/hg/rev/e10745311406>
* <https://www.mercurial-scm.org/repo/hg/rev/f93975a5ebe8>
* <https://www.mercurial-scm.org/repo/hg/rev/f9134e96ed0f>
* <https://www.mercurial-scm.org/repo/hg/rev/92b583e3e522>
* <https://www.mercurial-scm.org/repo/hg/rev/08cfc4baf3ba>
* <https://www.mercurial-scm.org/repo/hg/rev/55681baf4cf9>
* <https://www.mercurial-scm.org/repo/hg/rev/173ecccb9ee7>
* <https://www.mercurial-scm.org/repo/hg/rev/ca398a50ca00>
* <https://www.mercurial-scm.org/repo/hg/rev/00a75672a9cb>
* <https://www.mercurial-scm.org/repo/hg/rev/943c91326b23>
* <https://www.cve.org/CVERecord?id=CVE-2017-1000116>
