cve.bz

CVE-2017-1000115 Link Following

7.5 highEPSS 4.9%Fix available

High (7.5). EPSS 4.9% estimated probability of exploitation activity in the next 30 days. Fixed in mercurial 4.3, 4.3.1.

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

Severity

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
EPSS
4.9% (unchanged from 4.9% a week ago; 4.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-1000115 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-1000115?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-1000115?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-1000115 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mercurial:mercurialbefore 4.3
debian:debian_linux8.0
debian:debian_linux9.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_eus7.4
redhat:enterprise_linux_server_eus7.5
redhat:enterprise_linux_server_eus7.6
redhat:enterprise_linux_server_tus7.4
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hvr9-wr9p-grgrPyPImercurial<4.3.14.3.1
PYSEC-2017-88PyPImercurial<4.34.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7mercurial2.2.2-4+deb7u5DLA-1072-1
Debian8mercurial3.1.2-2+deb8u4DSA-3963-1
Debian9mercurial4.0-1+deb9u1DSA-3963-1
Debian12, 13, 14mercurial4.3.1-1DEBIAN-CVE-2017-1000115
Ubuntu14.04:LTSmercurial2.8.2-1ubuntu1.4UBUNTU-CVE-2017-1000115
Ubuntu16.04:LTSmercurial3.7.3-1ubuntu1.1UBUNTU-CVE-2017-1000115
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moremercurial, mercurial-hgk, emacs-mercurial and 2 more0:2.6.2-8.el7_4RHSA-2017:2489
SUSELinux Enterprise Software Development Kit 11 SP4mercurial2.3.2-0.18.3.1SUSE-SU-2017:2250-1
SUSELinux Enterprise Software Development Kit 12 SP2, Linux Enterprise Software Development Kit 12 SP3mercurial2.8.2-15.3.1SUSE-SU-2017:2251-1
openSUSETumbleweedmercurial5.9.1-2.1openSUSE-SU-2024:10586-1
Alpinev3.3, v3.4, v3.5 and 1 moremercurial4.3.1-r0ALPINE-CVE-2017-1000115

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7mercurial-0:2.6.2-8.el7_4Fixed 2017-08-17RHSA-2017:2489
Red Hat Enterprise Linux 6mercurialWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-1000115.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON