CVE-2017-9462
HIGHCVSS 8.8/10EPSS 21.51%
Last modified
CVE-2017-9462 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 21.51% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mercurial | Mercurial | < 4.1.3 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 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 |
References
- http://www.debian.org/security/2017/dsa-3963Third Party Advisory
- http://www.securityfocus.com/bid/99123Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1576Third Party Advisory
- https://bugs.debian.org/861243Issue Tracking, Mailing List, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00005.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201709-18Third Party Advisory
- https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499Mailing List, Vendor Advisory
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29Release Notes, Vendor Advisory
- http://www.debian.org/security/2017/dsa-3963Third Party Advisory
- http://www.securityfocus.com/bid/99123Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1576Third Party Advisory
- https://bugs.debian.org/861243Issue Tracking, Mailing List, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00005.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201709-18Third Party Advisory
- https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499Mailing List, Vendor Advisory
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29Release Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-9462?
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.
How severe is CVE-2017-9462?
CVE-2017-9462 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 21.51% probability of exploitation in the next 30 days.
How do I fix CVE-2017-9462?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-9453BMC Server Automation before 8.9.01 patch 1 allows Process S…9.8
- CVE-2017-9454Buffer overflow in the ares_parse_a_reply function in the em…7.5
- CVE-2017-9457Intense PC Phoenix SecureCore UEFI firmware does not perform…
- CVE-2017-9458XML external entity (XXE) vulnerability in the GlobalProtect…
- CVE-2017-9459Cross-site scripting (XSS) vulnerability in the management w…
- CVE-2017-9461smbd in Samba before 4.4.10 and 4.5.x before 4.5.6 has a den…
- CVE-2017-9463The application Piwigo is affected by a SQL injection vulner…
- CVE-2017-9464An open redirect vulnerability is present in Piwigo 2.9 and …
- CVE-2017-9465The yr_arena_write_data function in YARA 3.6.1 allows remote…
- CVE-2017-9466The executable httpd on the TP-Link WR841N V8 router before …
- CVE-2017-9467Cross-site scripting (XSS) vulnerability in the GlobalProtec…
- CVE-2017-9468In Irssi before 1.0.3, when receiving a DCC message without …
Are you affected by CVE-2017-9462?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
