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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 21.7%, higher than 98% of all known CVEs. Patch or mitigate before the next change window.
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 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 21.68% probability · 98th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-732
- Affected
- mercurial/mercurial · debian/debian linux · redhat/enterprise linux desktop · redhat/enterprise linux server · redhat/enterprise linux server aus · redhat/enterprise linux server eus · redhat/enterprise linux server tus · redhat/enterprise linux workstation
- Source
- cve@mitre.org
EPSS 21.7% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.