CVE-2017-9462
mercurial: Python debugger accessible to authorized users
Overview
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-732
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | mercurial | <4.1.3 | 4.1.3 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
Oracle Linux 1 release · 1 package
fixed 1
emacs-mercurial
| Release | Package | Fixed in |
|---|---|---|
| 7 | emacs-mercurial +3 | 2.6.2-7.el7_3 |
Red Hat 1 release · 1 package
fixed 1
emacs-mercurial
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | emacs-mercurial +3 | 0:2.6.2-7.el7_3 | RHSA-2017:1576 |
debian 5 releases · 1 package
fixed 5
mercurial
| Release | Package | Fixed in |
|---|---|---|
| 11 | mercurial | 4.3.1-1 |
| 12 | mercurial | 4.3.1-1 |
| 13 | mercurial | 4.3.1-1 |
| 14 | mercurial | 4.3.1-1 |
| 9 | mercurial | 4.0-1+deb9u1 |
echo 1 release · 1 package
fixed 1
mercurial
| Release | Package | Fixed in |
|---|---|---|
| mercurial | 4.3.1-1 |
References
- www.debian.org http://www.debian.org/security/2017/dsa-3963
- www.securityfocus.com http://www.securityfocus.com/bid/99123
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:1576
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-9462
- bugs.debian.org https://bugs.debian.org/861243
- github.com https://github.com/advisories/GHSA-ghjx-3jg5-h6r2
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-91.yaml
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-9462.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2017-1576.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html
Show all 16 references
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-9462
- security.gentoo.org https://security.gentoo.org/glsa/201709-18
- web.archive.org https://web.archive.org/web/20200227162318/http://www.securityfocus.com/bid/99123
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-9462
- www.mercurial-scm.org https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499
- www.mercurial-scm.org https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.