CVE-2017-9462
HIGH8.8EPSS 48.7%mercurial - security update
Published: 7/13/2018Modified: 4/28/2026
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.
Affected packages (4)
- Debian/mercurialfrom 0, < 4.3.1-1
- Debian/mercurialfrom 0, < 2.2.2-4+deb7u4
- PyPI/mercurialfrom 0, < 4.1.3
- PyPI/mercurialfrom 0, < 4.1.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (13)
- ADVISORYhttps://github.com/advisories/GHSA-ghjx-3jg5-h6r2
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-9462
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2017-9462
- WEBhttps://access.redhat.com/errata/RHSA-2017:1576
- WEBhttps://bugs.debian.org/861243
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-91.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2018/07/msg00005.html
- WEBhttps://security.gentoo.org/glsa/201709-18
- WEBhttps://web.archive.org/web/20200227162318/http://www.securityfocus.com/bid/99123
- WEBhttps://www.mercurial-scm.org/repo/hg/rev/77eaf9539499
- WEBhttps://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29
- WEBhttp://www.debian.org/security/2017/dsa-3963
- WEBhttp://www.securityfocus.com/bid/99123