{"schemaVersion":3,"id":"CVE-2017-1000115","aliases":["ALPINE-CVE-2017-1000115","GHSA-hvr9-wr9p-grgr","PYSEC-2017-88","UBUNTU-CVE-2017-1000115","DEBIAN-CVE-2017-1000115"],"status":"published","duplicateOf":null,"title":null,"description":"Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository","dates":{"published":"2017-10-04T01:00:00.000Z","modified":"2024-08-05T21:53:06.816Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.04815,"percentile":0.91872,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04815},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04012,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04815,"percentile":0.91872}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04012,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04815,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04815,"percentile":0.91872}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"alpine","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/mercurial","purlType":"apk","versions":[{"text":"< 4.3.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.3.1-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mercurial","purlType":"deb","versions":[{"text":"< 4.3.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.3.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mercurial","purlType":"deb","versions":[{"text":"< 2.8.2-1ubuntu1.4","noFixRecorded":false,"fixedIn":null},{"text":"< 3.7.3-1ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-1ubuntu1.4 | < 3.7.3-1ubuntu1.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mercurial","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.3","eol":null,"hubHref":"/vendor/mercurial/mercurial"},{"vendor":"PyPI","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mercurial","purlType":"pypi","versions":[{"text":"< 4.3.1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.3.1 | < 4.3","eol":null,"hubHref":null},{"vendor":"redhat","product":"enterprise_linux_desktop","name":"enterprise linux desktop","label":"enterprise_linux_desktop","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server","name":"enterprise linux server","label":"enterprise_linux_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_server_aus","name":"enterprise linux server aus","label":"enterprise_linux_server_aus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.4","noFixRecorded":false,"fixedIn":null},{"text":"7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.4 | 7.6","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_server_eus","name":"enterprise linux server eus","label":"enterprise_linux_server_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.4","noFixRecorded":false,"fixedIn":null},{"text":"7.5","noFixRecorded":false,"fixedIn":null},{"text":"7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.4 | 7.5 | 7.6","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_eus"},{"vendor":"redhat","product":"enterprise_linux_server_tus","name":"enterprise linux server tus","label":"enterprise_linux_server_tus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.4","noFixRecorded":false,"fixedIn":null},{"text":"7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.4 | 7.6","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_tus"},{"vendor":"redhat","product":"enterprise_linux_workstation","name":"enterprise linux workstation","label":"enterprise_linux_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_workstation"}],"affectedCount":12,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29","label":"www.mercurial-scm.org/wiki/WhatsNew","hostname":"www.mercurial-scm.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory","WEB"]},{"url":"http://www.securityfocus.com/bid/100290","label":"www.securityfocus.com/bid/100290","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","WEB"]},{"url":"http://www.debian.org/security/2017/dsa-3963","label":"www.debian.org/security/2017/dsa-3963","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory","WEB","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2489","label":"access.redhat.com/errata/RHSA-2017:2489","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory","WEB","Advisory"]},{"url":"https://security.gentoo.org/glsa/201709-18","label":"security.gentoo.org/glsa/201709-18","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory","VDB Entry","WEB","Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-1000115","label":"security.alpinelinux.org/vuln/CVE-2017-1000115","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000115","label":"nvd.nist.gov/vuln/detail/CVE-2017-1000115","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-88.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-88.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290","label":"web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290","hostname":"web.archive.org","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-hvr9-wr9p-grgr","label":"github.com/advisories/GHSA-hvr9-wr9p-grgr","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-1000115","label":"ubuntu.com/security/CVE-2017-1000115","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.282017-08-10.29","label":"www.mercurial-scm.org/wiki/WhatsNew","hostname":"www.mercurial-scm.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-1000115","label":"www.cve.org/CVERecord?id=CVE-2017-1000115","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-1000115","label":"security-tracker.debian.org/tracker/CVE-2017-1000115","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1072-1","DSA-3963-1","MGASA-2017-0282","MGASA-2017-0331","OPENSUSE-SU-2024:10586-1","RHSA-2017:2489","SUSE-SU-2017:2250-1","SUSE-SU-2017:2251-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10586-1","SUSE-SU-2017:2250-1","SUSE-SU-2017:2251-1"]},"timeline":[{"kind":"published","date":"2017-10-04T01:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T21:53:06.816Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:46:53.421Z","stale":false,"partial":false}}