Critical severity9.8NVD Advisory· Published Dec 7, 2017· Updated May 13, 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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mercurialPyPI | < 4.4.1 | 4.4.1 |
Affected products
3cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
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.