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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-1224-1 | mercurial security update |
Debian DLA |
DLA-1414-1 | mercurial security update |
Debian DLA |
DLA-1414-2 | mercurial regression update |
Debian DLA |
DLA-2293-1 | mercurial security update |
Github GHSA |
GHSA-6v56-cpg6-3rpx | Mercurial vulnerable to arbitrary code injection |
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T20:51:31.432Z
Reserved: 2017-12-07T00:00:00.000Z
Link: CVE-2017-17458
No data.
Status : Modified
Published: 2017-12-07T18:29:00.203
Modified: 2026-05-13T00:24:29.033
Link: CVE-2017-17458
OpenCVE Enrichment
No data.
Weaknesses
Debian DLA
Github GHSA