CWE
732
Advisory Published
Advisory Published
Updated

CVE-2017-9462

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 SoftwareAffected VersionHow to fix
redhat/mercurial<4.1.3
4.1.3
pip/mercurial<4.1.3
4.1.3
Mercurial<4.1.3
Debian Linux=8.0
Debian Linux=9.0
Red Hat Enterprise Linux Desktop=6.0
Red Hat Enterprise Linux Desktop=7.0
Red Hat Enterprise Linux Server=6.0
Red Hat Enterprise Linux Server=7.0
Red Hat Enterprise Linux Server=7.3
Red Hat Enterprise Linux Server=7.4
Red Hat Enterprise Linux Server=7.6
Red Hat Enterprise Linux Server=7.3
Red Hat Enterprise Linux Server=7.4
Red Hat Enterprise Linux Server=7.5
Red Hat Enterprise Linux Server=7.6
Red Hat Enterprise Linux Server=7.3
Red Hat Enterprise Linux Server=7.6
Red Hat Enterprise Linux Workstation=6.0
Red Hat Enterprise Linux Workstation=7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-9462?

    CVE-2017-9462 is considered a medium severity vulnerability because it allows remote authenticated users to execute arbitrary code.

  • How do I fix CVE-2017-9462?

    To fix CVE-2017-9462, upgrade Mercurial to version 4.1.3 or later.

  • What software is affected by CVE-2017-9462?

    CVE-2017-9462 affects Mercurial versions prior to 4.1.3, specifically on platforms like Debian and Red Hat Enterprise Linux.

  • What type of attack does CVE-2017-9462 enable?

    CVE-2017-9462 enables remote authenticated users to launch the Python debugger, potentially leading to arbitrary code execution.

  • Is CVE-2017-9462 present in the latest versions of Mercurial?

    No, CVE-2017-9462 is not present in Mercurial version 4.1.3 and later, as it has been patched.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203