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.
Published: 2017-12-07
Score: 9.8 Critical
EPSS: 17.2% Moderate
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 Debian DLA DLA-1224-1 mercurial security update
Debian DLA Debian DLA DLA-1414-1 mercurial security update
Debian DLA Debian DLA DLA-1414-2 mercurial regression update
Debian DLA Debian DLA DLA-2293-1 mercurial security update
Github GHSA Github GHSA GHSA-6v56-cpg6-3rpx Mercurial vulnerable to arbitrary code injection
History

No history.

Subscriptions

Debian Debian Linux
Mercurial Mercurial
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T20:51:31.432Z

Reserved: 2017-12-07T00:00:00.000Z

Link: CVE-2017-17458

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2017-12-07T18:29:00.203

Modified: 2026-05-13T00:24:29.033

Link: CVE-2017-17458

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-11-03T00:00:00Z

Links: CVE-2017-17458 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses