GitHub Advisory Database
GHSA-3qmg-c9vc-r47j
Mercurial is vulnerable to shell injection attack
Details
Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | mercurial | All versions before 4.3 (fixed in 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