Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mercurial | Mercurial | < 4.1.3 |
| Debian | Debian Linux | 8.0 |
| Redhat | Enterprise Linux Desktop | 6.0 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Server Aus | 7.3 |
| Redhat | Enterprise Linux Server Eus | 7.3 |
| Redhat | Enterprise Linux Server Tus | 7.3 |
| Redhat | Enterprise Linux Workstation | 6.0 |
Related Weaknesses (CWE)
References
- http://www.debian.org/security/2017/dsa-3963Third Party Advisory
- http://www.securityfocus.com/bid/99123Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:1576Third Party Advisory
- https://bugs.debian.org/861243Issue TrackingMailing ListPatch
- https://lists.debian.org/debian-lts-announce/2018/07/msg00005.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201709-18Third Party Advisory
- https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499Mailing ListVendor Advisory
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29Release NotesVendor Advisory
- http://www.debian.org/security/2017/dsa-3963Third Party Advisory
- http://www.securityfocus.com/bid/99123Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:1576Third Party Advisory
- https://bugs.debian.org/861243Issue TrackingMailing ListPatch
- https://lists.debian.org/debian-lts-announce/2018/07/msg00005.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201709-18Third Party Advisory
- https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499Mailing ListVendor Advisory
FAQ
What is CVE-2017-9462?
CVE-2017-9462 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-9462?
Check the references section above for vendor advisories and patch information. Affected products include: Mercurial Mercurial, Debian Debian Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus.