Skip to content
Fencer Intel
high 7.5

CVE-2017-1000115 json

Mercurial missing symlink check

published 9y ago modified 4mo ago also GHSA-hvr9-wr9p-grgr , PYSEC-2017-88 , EUVD-2017-0070

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.9%
EPSS 4.9% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

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

Patch / fix

  • pypi mercurial 4.3, 4.3.1
  • mercurial mercurial 4.3
  • mercurial Debian 14, Debian 13, Debian 12 4.3.1-1

debian advisories DEBIAN-CVE-2017-1000115

  • mercurial Ubuntu 14.04 LTS 2.8.2-1ubuntu1.4
  • mercurial Ubuntu 16.04 LTS 3.7.3-1ubuntu1.1

ubuntu advisories UBUNTU-CVE-2017-1000115

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mercurial RHEL 7 2.6.2-8.el7_4
  • mercurial-hgk RHEL 7 2.6.2-8.el7_4
  • emacs-mercurial RHEL 7 2.6.2-8.el7_4
  • emacs-mercurial-el RHEL 7 2.6.2-8.el7_4

red hat advisories RHSA-2017:2489

  • mercurial SLE Software Development Kit 11 SP4 2.3.2-0.18.3.1
  • mercurial SLE Software Development Kit 12 SP3, SLE Software Development Kit 12 SP2 2.8.2-15.3.1

suse advisories SUSE-SU-2017:2250-1SUSE-SU-2017:2251-1

  • mercurial openSUSE Tumbleweed 5.9.1-2.1

opensuse advisories openSUSE-SU-2024:10586-1

  • mercurial Alpine 3.6, Alpine 3.5, Alpine 3.4 +1 more 4.3.1-r0

alpine advisories ALPINE-CVE-2017-1000115

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mercurial Arch Linux 4.2.3-1

arch linux advisories AVG-378

Is CVE-2017-1000115 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-1000115 updated cvss 5.4

Mercurial: pathaudit: path traversal via symlink

  • Red Hat Enterprise Linux 6 mercurial, mercurial-hgk, emacs-mercurial, emacs-mercurial-el
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client Optional (v. 7) mercurial 2.6.2-8.el7_4, mercurial-hgk 2.6.2-8.el7_4, emacs-mercurial 2.6.2-8.el7_4, emacs-mercurial-el 2.6.2-8.el7_4 Red Hat Enterprise Linux ComputeNode Optional (v. 7) mercurial 2.6.2-8.el7_4, mercurial-hgk 2.6.2-8.el7_4, emacs-mercurial 2.6.2-8.el7_4, emacs-mercurial-el 2.6.2-8.el7_4 Red Hat Enterprise Linux Server (v. 7) mercurial 2.6.2-8.el7_4 Red Hat Enterprise Linux Server Optional (v. 7) mercurial-hgk 2.6.2-8.el7_4, emacs-mercurial 2.6.2-8.el7_4, emacs-mercurial-el 2.6.2-8.el7_4 Red Hat Enterprise Linux Workstation (v. 7) mercurial 2.6.2-8.el7_4 Red Hat Enterprise Linux Workstation Optional (v. 7) mercurial-hgk 2.6.2-8.el7_4, emacs-mercurial 2.6.2-8.el7_4, emacs-mercurial-el 2.6.2-8.el7_4
    fixed: vendor fix RHSA-2017:2489

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.95% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
pypi mercurial
<4.3.1
<4.3
4.3.1
4.3

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.