CVE-2017-1000115
Mercurial missing symlink check
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
CVE-2017-1000115- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-59
- Updated
- 2026-11-02
CVE List No score
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
CVE-2017-1000115- Updated
- 2026-11-02
EUVDEUVD-2017-0070 No score
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
EUVD-2017-0070- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hvr9-wr9p-grgr
8.7
Mercurial missing symlink check
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
GHSA-hvr9-wr9p-grgr- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-59
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-1000115
7.5
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
ALPINE-CVE-2017-1000115- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSV
7.5
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
CVE-2017-1000115- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2017-1000115
7.5
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
DEBIAN-CVE-2017-1000115- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVGHSA-hvr9-wr9p-grgr
8.7
Mercurial missing symlink check
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
GHSA-hvr9-wr9p-grgr- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-59
- Updated
- 2026-11-02
OSVRHSA-2017:2489
6.3
Red Hat Security Advisory: mercurial security update
- Record
RHSA-2017:2489- CVSS 3.0
- 6.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-1000115
7.5
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
UBUNTU-CVE-2017-1000115- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVMGASA-2017-0282 No score
Updated mercurial packages fix security vulnerabilities
Mercurial was not sanitizing hostnames passed to ssh, allowing shell injection attacks by specifying a hostname starting with -oProxyCommand.
- Record
MGASA-2017-0282- Updated
- 2026-11-02
OSVMGASA-2017-0331 No score
Updated mercurial package fixes security vulnerabilities
Mercurial was not sanitizing hostnames passed to ssh, allowing shell injection attacks by specifying a hostname starting with -oProxyCommand.
- Record
MGASA-2017-0331- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10586-1 No score
mercurial-5.9.1-2.1 on GA media
These are all security issues fixed in the mercurial-5.9.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10586-1- Updated
- 2026-11-02
OSVPYSEC-2017-88 No score
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- Record
PYSEC-2017-88- Updated
- 2026-11-02
OSVSUSE-SU-2017:2250-1 No score
Security update for mercurial
This update for mercurial fixes the following issues:
- CVE-2017-1000115: path traversal via symlink could lead to unauthorized access (bsc#1053344)
- CVE-2017-1000116: argument injection in SSH URLs could lead to client-side code execution (bsc#1052696)
- Record
SUSE-SU-2017:2250-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2251-1 No score
Security update for mercurial
This update for mercurial fixes the following issues:
- CVE-2017-1000115: path traversal via symlink could lead to unauthorized access (bsc#1053344)
- CVE-2017-1000116: argument injection in SSH URLs could lead to client-side code execution (bsc#1052696)
- Record
SUSE-SU-2017:2251-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mercurialPyPI |
before 4.3.1 | 4.3.1 |
mercurialAlpine:v3.3 |
before 4.3.1-r0 | 4.3.1-r0 |
mercurialAlpine:v3.4 |
before 4.3.1-r0 | 4.3.1-r0 |
mercurialAlpine:v3.5 |
before 4.3.1-r0 | 4.3.1-r0 |
mercurialAlpine:v3.6 |
before 4.3.1-r0 | 4.3.1-r0 |
mercurialDebian:12 |
before 4.3.1-1 | 4.3.1-1 |
mercurialDebian:13 |
before 4.3.1-1 | 4.3.1-1 |
mercurialDebian:14 |
before 4.3.1-1 | 4.3.1-1 |
mercurialDebian:7 From an advisory covering 2 CVEs |
before 2.2.2-4+deb7u5, plus listed versions 2.2.2-32.2.2-42.2.2-4+deb7u12.2.2-4+deb7u22.2.2-4+deb7u32.2.2-4+deb7u4 |
2.2.2-4+deb7u5 |
mercurialDebian:8 From an advisory covering 2 CVEs |
before 3.1.2-2+deb8u4, plus listed versions 3.1.2-23.1.2-2+deb8u13.1.2-2+deb8u23.1.2-2+deb8u3 |
3.1.2-2+deb8u4 |
Show 31 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mercurialDebian:9 From an advisory covering 2 CVEs |
before 4.0-1+deb9u1, plus listed versions 4.0-1 |
4.0-1+deb9u1 |
mercurialPyPI |
before 4.3.1, plus listed versions 0.8.10.90.9.10.9.20.9.3 Show 45 moreShow less0.9.40.9.51.01.0.11.0.21.11.1.11.1.21.21.2.11.31.3.11.41.4.11.4.21.4.31.51.5.11.5.21.5.31.5.41.61.6.11.6.21.6.31.6.41.71.7.11.7.21.7.31.7.51.81.8.11.8.21.8.31.8.41.91.9.11.9.21.9.32.02.0.12.0.22.12.1.1 |
4.3.1 |
mercurialMageia:6 From an advisory covering 2 CVEs |
before 4.1.3-1.1.mga6 | 4.1.3-1.1.mga6 |
mercurialMageia:5 From an advisory covering 2 CVEs |
before 3.1.1-5.5.mga5 | 3.1.1-5.5.mga5 |
mercurialPyPI |
before 4.3, plus listed versions 0.8.10.90.9.10.9.20.9.3 Show 45 moreShow less0.9.40.9.51.01.0.11.0.21.11.1.11.1.21.21.2.11.31.3.11.41.4.11.4.21.4.31.51.5.11.5.21.5.31.5.41.61.6.11.6.21.6.31.6.41.71.7.11.7.21.7.31.7.51.81.8.11.8.21.8.31.8.41.91.9.11.9.21.9.32.02.0.12.0.22.12.1.1 |
4.3 |
emacs-mercurialRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
emacs-mercurial-elRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurialRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurial-debuginfoRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurial-hgkRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
emacs-mercurialRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
emacs-mercurial-elRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurialRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurial-debuginfoRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurial-hgkRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurialRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurial-debuginfoRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
emacs-mercurialRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
emacs-mercurial-elRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurial-hgkRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurialRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurial-debuginfoRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
emacs-mercurialRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
emacs-mercurial-elRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurial-hgkRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 0:2.6.2-8.el7_4 | 0:2.6.2-8.el7_4 |
mercurialSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 2 CVEs |
before 2.3.2-0.18.3.1 | 2.3.2-0.18.3.1 |
mercurialSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 2 CVEs |
before 2.8.2-15.3.1 | 2.8.2-15.3.1 |
mercurialSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 2 CVEs |
before 2.8.2-15.3.1 | 2.8.2-15.3.1 |
mercurialUbuntu:14.04:LTS |
before 2.8.2-1ubuntu1.4, plus listed versions 2.6.3-12.7.2-12.8.1-22.8.2-1ubuntu12.8.2-1ubuntu1.3 |
2.8.2-1ubuntu1.4 |
mercurialUbuntu:16.04:LTS |
before 3.7.3-1ubuntu1.1, plus listed versions 3.4-1ubuntu23.6.2-1ubuntu23.7.3-1ubuntu1 |
3.7.3-1ubuntu1.1 |
mercurialopenSUSE:Tumbleweed From an advisory covering 9 CVEs |
before 5.9.1-2.1 | 5.9.1-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-1000115 is a high vulnerability (CVSS 7.5) in Mercurial, published August 19, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.95%, the 92nd percentile. Fixed in mercurial 4.3.1.
References
mercurial-scm.org/wiki/WhatsNew
securityfocus.com/bid/100290
debian.org/security/2017/dsa-3963
access.redhat.com/errata/RHSA-2017:2489
security.gentoo.org/glsa/201709-18
nvd.nist.gov/vuln/detail/CVE-2017-1000115
Show 33 moreShow less
web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290
github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-88.yaml
github.com/advisories/GHSA-hvr9-wr9p-grgr
security.alpinelinux.org/vuln/CVE-2017-1000115
security-tracker.debian.org/tracker/CVE-2017-1000115
advisories.mageia.org/MGASA-2017-0282.html
bugs.mageia.org/show_bug.cgi?id=21502
mercurial-scm.org/pipermail/mercurial/2017-August/050522.html
advisories.mageia.org/MGASA-2017-0331.html
bugs.mageia.org/show_bug.cgi?id=21510
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1479915
bugzilla.redhat.com/show_bug.cgi?id=1480330
security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_2489.json
access.redhat.com/security/cve/CVE-2017-1000115
cve.org/CVERecord?id=CVE-2017-1000115
access.redhat.com/security/cve/CVE-2017-1000116
cve.org/CVERecord?id=CVE-2017-1000116
nvd.nist.gov/vuln/detail/CVE-2017-1000116
suse.com/support/update/announcement/2017/suse-su-20172250-1
bugzilla.suse.com/1052696
bugzilla.suse.com/1053344
suse.com/security/cve/CVE-2017-1000115
suse.com/security/cve/CVE-2017-1000116
suse.com/support/update/announcement/2017/suse-su-20172251-1
ubuntu.com/security/CVE-2017-1000115
suse.com/security/cve/CVE-2008-2942
suse.com/security/cve/CVE-2017-17458
suse.com/security/cve/CVE-2018-1000132
suse.com/security/cve/CVE-2018-13346
suse.com/security/cve/CVE-2018-13348
suse.com/security/cve/CVE-2018-17983
suse.com/security/cve/CVE-2019-3902
Left out here: 159 versions. The JSON record has them.