CVE-2017-17458
mercurial: arbitrary command execution in mercurial repo with a git submodule
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · November 3, 2017
Updated · May 13, 2026
Description
It was found that mercurial was vulnerable to cross repositories modification. A specially crafted mercurial repository could trigger arbitrary commands on a client during commands such as clone or update.
Statement
This issue affects the versions of mercurial as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Disable sub-repositories
CVSS / CWE
CVSS 3.0 · 6.3CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
CWE not specified