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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 21.68% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 97.4% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2017-06-06 21:00Z9 YR AGO
- Last updated
- 2024-08-05 17:11Z2 YR AGO
- Reserved
- 2017-06-06
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 6fd2b62e4ee7f2e4be495d65022b967d1fd9bdd05ad5bb5a703539e2cac080c1
05 Affected products
06 References
- access.redhat.comRHSA-2017:1576https://access.redhat.com/errata/RHSA-2017:1576
- www.mercurial-scm.orghttps://www.mercurial-scm.org/repo/hg/rev/77eaf9539499
- www.mercurial-scm.orghttps://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29
- lists.debian.org[debian-lts-announce] 20180705 [SECURITY] [DLA 1414-1] mercurial security updatehttps://lists.debian.org/debian-lts-announce/2018/07/msg00005.html
- www.debian.orgDSA-3963http://www.debian.org/security/2017/dsa-3963
- security.gentoo.orgGLSA-201709-18https://security.gentoo.org/glsa/201709-18
- bugs.debian.orghttps://bugs.debian.org/861243
- www.securityfocus.com99123http://www.securityfocus.com/bid/99123
07 Fixed in
Debian 12
- mercurial Fixed in 4.3.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- mercurial Fixed in 4.3.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- mercurial Fixed in 4.3.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- mercurial Fixed in 2.8.2-1ubuntu1.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- mercurial Fixed in 3.7.3-1ubuntu1.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.