Upstream information

CVE-2017-17458 at MITRE


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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database SUSE
Base Score 10 5.8
Vector AV:N/AC:L/Au:N/C:C/I:C/A:C AV:N/AC:M/Au:N/C:P/I:P/A:N
Access Vector Network Network
Access Complexity Low Medium
Authentication None None
Confidentiality Impact Complete Partial
Integrity Impact Complete Partial
Availability Impact Complete None
CVSS v3 Scores
Base Score 5.4
Vector AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact Low
Integrity Impact Low
Availability Impact None
SUSE Bugzilla entry: 1071715 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Module for Development Tools 15
  • mercurial >= 4.5.2-1.19
SUSE Linux Enterprise Module for Development Tools 15 GA mercurial
SUSE Linux Enterprise Software Development Kit 11 SP4
  • mercurial >= 2.3.2-
SUSE Linux Enterprise Software Development Kit 12 SP2
  • mercurial >= 2.8.2-15.6.1
SUSE Linux Enterprise Software Development Kit 12 SP3
  • mercurial >= 2.8.2-15.6.1
openSUSE Leap 42.2
  • mercurial >= 3.8.3-2.11.1
  • mercurial-debuginfo >= 3.8.3-2.11.1
  • mercurial-debugsource >= 3.8.3-2.11.1
  • mercurial-lang >= 3.8.3-2.11.1
openSUSE Leap 42.3
  • mercurial >= 4.2.3-7.1
  • mercurial-debuginfo >= 4.2.3-7.1
  • mercurial-debugsource >= 4.2.3-7.1
  • mercurial-lang >= 4.2.3-7.1

Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise SDK 11 SP4 mercurial Released
SUSE Linux Enterprise SDK 12 SP2 mercurial Released
SUSE Linux Enterprise SDK 12 SP3 mercurial Released