Skip to main content
← All vulnerabilities
CVE-2017-17458GHSA-6V56-CPG6-3RPXPYSEC-2017-90

In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the f

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.4.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • mercurialPyPI

    fixed in 4.4.1

References 9

lists.debian.org

mercurial-scm.org

securityfocus.com

bz.mercurial-scm.org

confluence.atlassian.com