Vulnerability in Mercurial
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.217 (97.6th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.217 · newest: 0.217 · change: 0.000
Affected products
- Mercurial
- Debian Linux — versions 8.0, 9.0
- Red Hat Enterprise Linux Desktop — versions 6.0, 7.0
- Red Hat Enterprise Linux Server — versions 6.0, 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.3, 7.4, 7.6
- Red Hat Enterprise Linux Server Eus — versions 7.3, 7.4, 7.5
- Red Hat Enterprise Linux Server Tus — versions 7.3, 7.6
- Red Hat Enterprise Linux Workstation — versions 6.0, 7.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2017:1576 (vendor-advisory, Third Party Advisory)
- www.mercurial-scm.org/repo/hg/rev/77eaf9539499 (Mailing List, Vendor Advisory)
- www.mercurial-scm.org/wiki/WhatsNew (Release Notes, Vendor Advisory)
- lists.debian.org/debian-lts-announce/2018/07/msg00005.html (mailing-list, Mailing List, Third Party Advisory)
- www.debian.org/security/2017/dsa-3963 (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/201709-18 (vendor-advisory, Third Party Advisory)
- bugs.debian.org/861243 (Patch, Mailing List, Third Party Advisory, Issue Tracking)
- www.securityfocus.com/bid/99123 (VDB Entry, Third Party Advisory, vdb-entry)
Frequently asked questions
- What is CVE-2017-9462?
- CVE-2017-9462 is a high-severity vulnerability in Mercurial, classified under Incorrect Permission Assignment for Critical Resource. CVSS score: 8.8/10. Published 2017-06-06.
- How severe is CVE-2017-9462?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2017-9462 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.