{"id":"CVE-2017-17458","published":"2017-12-07T18:00:00Z","modified":"2024-08-05T20:51:31Z","title":"In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run…","vendor":null,"product":null,"tier":"tail","description":{"text":"In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06331,"percentile":0.93601,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00027.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.4.1_.282017-11-07.29","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00041.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-November/107333.html","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/102926","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bz.mercurial-scm.org/show_bug.cgi?id=5730","tags":["x_refsource_MISC"]},{"url":"https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.72}]},"affected":[{"ecosystem":"PyPI","package":"mercurial","vulnerableRanges":["<4.4.1"],"patched":["4.4.1"],"from":["GHSA-6v56-cpg6-3rpx","PYSEC-2017-90"],"provenance":"source"}],"euvd":{"id":"EUVD-2017-0072","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-9462","published":"2017-06-06","fixed":"4.1.3","kev":false},{"cve":"CVE-2017-1000116","published":"2017-10-04","fixed":"4.3","kev":false},{"cve":"CVE-2017-1000115","published":"2017-10-04","fixed":"4.3.1","kev":false,"link":{"from":"CVE-2017-1000115","to":"CVE-2017-17458","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mercurial","fromFixed":"4.3.1","toFixed":"4.4.1","daysApart":64}]}},{"cve":"CVE-2017-17458","published":"2017-12-07","fixed":"4.4.1","kev":false},{"cve":"CVE-2018-1000132","published":"2018-03-14","fixed":"4.5.1","kev":false,"link":{"from":"CVE-2017-17458","to":"CVE-2018-1000132","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mercurial","fromFixed":"4.4.1","toFixed":"4.5.1","daysApart":97}]}},{"cve":"CVE-2018-13346","published":"2018-07-06","fixed":"4.6.1","kev":false},{"cve":"CVE-2018-13347","published":"2018-07-06","fixed":"4.6.1","kev":false}],"package":"PyPI:mercurial"}}