VDB
CVE-2017-1000116
CVE-2017-1000116
PUBLISHED
CVSS 9.800000190734863 CRITICAL
Mercurial is vulnerable to shell injection attack
Reported by mitre · Published October 4, 2017
mercurial is fixed in 4.3 (PyPI)
Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.
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 | PyPI | 4.3 |
| mercurial | Arch Linux | 4.2.3-1 |
| mercurial | Alpine | 4.3.1-r0 |
| mercurial | Ubuntu:16.04:LTS | 3.7.3-1ubuntu1.1 |
| mercurial | Ubuntu:14.04:LTS | 2.8.2-1ubuntu1.4 |
Risk scores
CVSS 3.0
9.800000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | mercurial | 0 |
| arch | mercurial | 0 |
| alpine | mercurial | 0 |
| n/a | n/a | * |
Timeline
- Oct 4, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (4 in total, the first dated here)
- Oct 5, 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-1000116
vulnetix vdb fixes CVE-2017-1000116
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-1000116/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 100290 vdb-entryx_refsource_BID
- DSA-3963 vendor-advisoryx_refsource_DEBIAN
- RHSA-2017:2489 vendor-advisoryx_refsource_REDHAT
- GLSA-201709-18 vendor-advisoryx_refsource_GENTOO
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000116 advisory
- https://github.com/advisories/GHSA-3qmg-c9vc-r47j advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-89.yaml advisory
- https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290 url
- https://wiki.mercurial-scm.org/WhatsNew/Archive url