CVE-2017-17458

Summary

CVECVE-2017-17458
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-12-07 18:29:00 UTC
Updated2020-07-31 13:15:00 UTC
DescriptionIn 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.

Risk And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Mercurial Mercurial All All All All
Application Mercurial Mercurial All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 1414-2] mercurial regression update MLIST lists.debian.org Mailing List, Third Party Advisory
[SECURITY] [DLA 2293-1] mercurial security update MLIST lists.debian.org
Atlassian SourceTree Multiple Command Injection and Command Execution Vulnerabilities BID www.securityfocus.com Third Party Advisory, VDB Entry
5730 – [CRITICAL]Arbitrary command execution in mercurial repo with a git submodule MISC bz.mercurial-scm.org Issue Tracking, Third Party Advisory
Sourcetree Security Advisory 2018-01-24 - Atlassian Documentation CONFIRM confluence.atlassian.com Third Party Advisory
[Bug 5730] New: [CRITICAL]Arbitrary command execution in mercurial repo with a git submodule MISC www.mercurial-scm.org Vendor Advisory
WhatsNew - Mercurial MISC www.mercurial-scm.org Vendor Advisory
[SECURITY] [DLA 1224-1] mercurial security update MLIST lists.debian.org Mailing List, Third Party Advisory
[SECURITY] [DLA 1414-1] mercurial security update MLIST lists.debian.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 296092 Oracle Solaris 11.4 Support Repository Update (SRU) 7.1.4 Missing (CPUJAN2019)
  • 670260 EulerOS Security Update for mercurial (EulerOS-SA-2021-1816)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report