CVE-2017-17458Published Dec 7, 2017 · Dec 7Updated Jun 17
Mercurial vulnerable to arbitrary code injection
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mercurial PyPI |
|
|
Original 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.
From the CVE record · mitre