First published: Tue Jun 06 2017(Updated: )
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/mercurial | <4.1.3 | 4.1.3 |
pip/mercurial | <4.1.3 | 4.1.3 |
Mercurial Mercurial | <4.1.3 | |
Debian | =8.0 | |
Debian | =9.0 | |
redhat enterprise Linux desktop | =6.0 | |
redhat enterprise Linux desktop | =7.0 | |
redhat enterprise Linux server | =6.0 | |
redhat enterprise Linux server | =7.0 | |
redhat enterprise Linux server aus | =7.3 | |
redhat enterprise Linux server aus | =7.4 | |
redhat enterprise Linux server aus | =7.6 | |
redhat enterprise Linux server eus | =7.3 | |
redhat enterprise Linux server eus | =7.4 | |
redhat enterprise Linux server eus | =7.5 | |
redhat enterprise Linux server eus | =7.6 | |
redhat enterprise Linux server tus | =7.3 | |
redhat enterprise Linux server tus | =7.6 | |
redhat enterprise Linux workstation | =6.0 | |
redhat enterprise Linux workstation | =7.0 | |
Debian Debian Linux | =8.0 | |
Debian Debian Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-9462 is considered a medium severity vulnerability because it allows remote authenticated users to execute arbitrary code.
To fix CVE-2017-9462, upgrade Mercurial to version 4.1.3 or later.
CVE-2017-9462 affects Mercurial versions prior to 4.1.3, specifically on platforms like Debian and Red Hat Enterprise Linux.
CVE-2017-9462 enables remote authenticated users to launch the Python debugger, potentially leading to arbitrary code execution.
No, CVE-2017-9462 is not present in Mercurial version 4.1.3 and later, as it has been patched.