Back
CVE-2017-17458
In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the…
Critical9.8EPSS 6.3%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 6.3% · top 6.4% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPImercurialGHSA-6v56-cpg6-3rpx (opens in a new tab)
References (9)
- [debian-lts-announce] 20171228 [SECURITY] [DLA 1224-1] mercurial security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.4.1_.282017-11-07.29 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20180727 [SECURITY] [DLA 1414-2] mercurial regression update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [debian-lts-announce] 20180705 [SECURITY] [DLA 1414-1] mercurial security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-November/107333.html (opens in a new tab)x_refsource_MISCx_transferred
- 102926 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://bz.mercurial-scm.org/show_bug.cgi?id=5730 (opens in a new tab)x_refsource_MISCx_transferred
- https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6v56-cpg6-3rpx (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-17458)Record last updated .