CVE-2017-9462

Description

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.

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 48.70% Top 5%
Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory gentoo.org Vendor Advisory mercurial-scm.org Vendor Advisory mercurial-scm.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://access.redhat.com/errata/RHSA-2017:1576 third party advisory vendor advisory
https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499 mailing list vendor advisory
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29 release notes vendor advisory
https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html third party advisory mailing list
http://www.debian.org/security/2017/dsa-3963 third party advisory vendor advisory
https://security.gentoo.org/glsa/201709-18 third party advisory vendor advisory
https://bugs.debian.org/861243 issue tracking mailing list patch third party advisory
http://www.securityfocus.com/bid/99123 vdb entry third party advisory

Frequently Asked Questions

What is the severity of CVE-2017-9462?
CVE-2017-9462 has been scored as a high severity vulnerability.
How to fix CVE-2017-9462?
To fix CVE-2017-9462, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2017-9462 being actively exploited in the wild?
It is possible that CVE-2017-9462 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~49% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.