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.
References
Configurations
History
No history.
Information
Published : 2017-12-07 18:29
Updated : 2025-04-20 01:37
NVD link : CVE-2017-17458
Mitre link : CVE-2017-17458
CVE.ORG link : CVE-2017-17458
JSON object : View
Products Affected
mercurial
- mercurial
debian
- debian_linux
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')