Critical severity9.8NVD Advisory· Published Dec 7, 2017· Updated Jun 17, 2026
CVE-2017-17458
CVE-2017-17458
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mercurialPyPI | < 4.4.1 | 4.4.1 |
Affected products
8- ghsa-coords5 versionspkg:pypi/mercurialpkg:rpm/opensuse/mercurial&distro=openSUSE%20Tumbleweedpkg:rpm/suse/mercurial&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/mercurial&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/mercurial&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3
< 4.4.1+ 4 more
- (no CPE)range: < 4.4.1
- (no CPE)range: < 5.9.1-2.1
- (no CPE)range: < 2.3.2-0.18.6.1
- (no CPE)range: < 2.8.2-15.6.1
- (no CPE)range: < 2.8.2-15.6.1
Patches
Vulnerability mechanics
References
13- www.securityfocus.com/bid/102926nvdThird Party AdvisoryVDB Entry
- bz.mercurial-scm.org/show_bug.cginvdIssue TrackingThird Party AdvisoryWEB
- confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.htmlnvdThird Party AdvisoryWEB
- github.com/advisories/GHSA-6v56-cpg6-3rpxghsaADVISORY
- lists.debian.org/debian-lts-announce/2017/12/msg00027.htmlnvdMailing ListThird Party AdvisoryWEB
- lists.debian.org/debian-lts-announce/2018/07/msg00005.htmlnvdMailing ListThird Party AdvisoryWEB
- lists.debian.org/debian-lts-announce/2018/07/msg00041.htmlnvdMailing ListThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2017-17458ghsaADVISORY
- www.mercurial-scm.org/pipermail/mercurial-devel/2017-November/107333.htmlnvdVendor AdvisoryWEB
- www.mercurial-scm.org/wiki/WhatsNewnvdVendor AdvisoryWEB
- github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-90.yamlghsaWEB
- lists.debian.org/debian-lts-announce/2020/07/msg00032.htmlnvdWEB
- web.archive.org/web/20200227132808/http://www.securityfocus.com/bid/102926ghsaWEB
News mentions
0No linked articles in our index yet.