CVE-2017-9462

high
Published 2017-06-06 · Modified 2023-11-08
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2
9.0
VIR risk
8.8

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.

Predictions

Exploit likelihood
92%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-9462

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-9462.html

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://bugs.debian.org/861243

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debian8.0affected
debian debian9.0affected
redhat rhel6.0affected
redhat rhel7.0affected
debian debianbookwormfixed4.3.1-1
debian debianbullseyefixed4.3.1-1
debian debianforkyfixed4.3.1-1
debian debiansidfixed4.3.1-1
debian debiantrixiefixed4.3.1-1

Package impact

EcosystemPackageVulnerableFixed
python PyPImercurial<4.1.34.1.3

Application impact

VendorProductVersionsFixed
mercurialmercurial{"endExcluding":"4.1.3"}4.1.3

References

CWEs

CWE-732

Verify integrity in audit chain (admin only). AS-IS.