Arbitrary Code Execution via Malformed Mercurial Repository

Arbitrary Code Execution via Malformed Mercurial Repository

CVE-2017-17458 · HIGH Severity

AV:N/AC:L/AU:N/C:C/I:C/A:C

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.

Learn more about our Web Application Penetration Testing UK.