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.7th percentile (scored ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
Metasploit modules
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- 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)
- [debian-lts-announce] 20180705 [SECURITY] [DLA 1414-1] mercurial security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-3963 (vendor-advisory, Third Party Advisory)
- 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 (Third Party Advisory, VDB Entry, vdb-entry)
This CVE has public exploit evidence. See the latest CVEs with public exploits.