# CVE-2017-1000115: Mercurial missing symlink check

Source: https://junglewise.ai/threats/cve-2017-1000115-mercurial-missing-symlink-check  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-10-05  
License: CC BY 4.0 with a link back

CVE-2017-1000115 · Severity: low · CVSS 3 · Published 2017-10-05

Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository

Technologies: [mercurial (PyPI)](https://junglewise.ai/threats/technologies/mercurial). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2017-1000115 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2017-1000115 being exploited in the wild.

**How severe is CVE-2017-1000115?** Low severity, with a CVSS score of 3, published 5 October 2017.

**Which products and versions are affected?** mercurial (PyPI) ECOSYSTEM:introduced=0,fixed=4.3, ECOSYSTEM:introduced=0,fixed=4.3.1.

**Is there a fix for CVE-2017-1000115?** Yes. mercurial (PyPI): upgrade to 4.3, 4.3.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-1000115?** Check whether you run mercurial (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mercurial (PyPI): upgrade to 4.3, 4.3.1 or later

  ```sh
  pip install "mercurial>=4.3.1"
  ```


## Affected products

- mercurial (PyPI) ECOSYSTEM:introduced=0,fixed=4.3, ECOSYSTEM:introduced=0,fixed=4.3.1

## Identifiers

- CVE-2017-1000115
- GHSA-hvr9-wr9p-grgr
- PYSEC-2017-88

## Related threats

- [PYSEC-2026-666 - Mercurial Directory traversal vulnerability](https://junglewise.ai/threats/cve-2008-2942-mercurial-directory-traversal-vulnerability)
- [PYSEC-2026-665 - Mercurial Improper Certificate Validation vulnerability](https://junglewise.ai/threats/cve-2010-4237-mercurial-improper-certificate-validation-vulnerability)
- [JGit Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2014-9390-jgit-improper-input-validation-vulnerability)
- [Mercurial Path Traversal/Link Following vulnerability](https://junglewise.ai/threats/cve-2019-3902-mercurial-path-traversal-link-following-vulnerability)
- [PYSEC-2018-91 - cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.](https://junglewise.ai/threats/cve-2018-17983-mercurial-out-of-bounds-read-vulnerability)
