VDB
CVE-2017-9462
CVE-2017-9462
PUBLISHED
CVSS 8.800000190734863 HIGH
Mercurial has Incorrect Permission Assignment for Critical Resource
Reported by mitre · Published June 6, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mercurial | Ubuntu:16.04:LTS | 3.7.3-1ubuntu1.1 |
Risk scores
CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | mercurial | 0 |
Timeline
- Jun 6, 2017 CVE Published
- Jul 12, 2017 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (4 in total, the first dated here)
- Sep 27, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-9462
vulnetix vdb fixes CVE-2017-9462
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-9462/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2017:1576 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- [debian-lts-announce] 20180705 [SECURITY] [DLA 1414-1] mercurial security update mailing-listx_refsource_MLIST
- DSA-3963 vendor-advisoryx_refsource_DEBIAN
- GLSA-201709-18 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- 99123 vdb-entryx_refsource_BID
- https://nvd.nist.gov/vuln/detail/CVE-2017-9462 advisory
- https://github.com/advisories/GHSA-ghjx-3jg5-h6r2 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-91.yaml advisory
- https://web.archive.org/web/20200227162318/http://www.securityfocus.com/bid/99123 url