Red Hat VEX
RHVEX-CVE-2017-1000116
mercurial: command injection on clients through malicious ssh URLs
Details
A shell command injection flaw related to the handling of "ssh" URLs has been discovered in Mercurial. This can be exploited to execute shell commands with the privileges of the user running the Mercurial client, for example, when performing a "checkout" or "update" action on a sub-repository within a malicious repository or a legitimate repository containing a malicious commit.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | emacs-mercurial | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | emacs-mercurial-el | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | mercurial | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | mercurial-hgk | All versions, will not be fixed |