CVE-2017-1000116
critical
CVSS v3
9.8
CVSS v2
10.0
VIR risk
9.8
Description
Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.
Predictions
Exploit likelihood
97%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-1000116
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-1000116.html
Vendor advisory: cve@mitre.org — https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29
Vendor advisory: cve@mitre.org — https://security.gentoo.org/glsa/201709-18
Vendor advisory: arch — https://security.archlinux.org/ASA-201708-7
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 4.2.3-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 4.3.1-1 |
| debian | bullseye | fixed | 4.3.1-1 |
| debian | forky | fixed | 4.3.1-1 |
| debian | sid | fixed | 4.3.1-1 |
| debian | trixie | fixed | 4.3.1-1 |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| rhel | 7.0 | affected | |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | mercurial | <4.3 | 4.3 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mercurial | mercurial | {"endExcluding":"4.3"} | 4.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000116
- https://access.redhat.com/errata/RHSA-2017:2489
- https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-89.yaml
- https://security.gentoo.org/glsa/201709-18
- https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290
- https://wiki.mercurial-scm.org/WhatsNew/Archive
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29
- http://www.debian.org/security/2017/dsa-3963
- https://security.archlinux.org/ASA-201708-7
- http://www.securityfocus.com/bid/100290
- https://www.suse.com/security/cve/CVE-2017-1000116.html
- https://security-tracker.debian.org/tracker/CVE-2017-1000116
CWEs
CWE-78
Verify integrity in audit chain (admin only). AS-IS.