GitHub Advisoryadvisory · PyPI
GHSA-3qmg-c9vc-r47j Mercurial is vulnerable to shell injection attack
CRITICAL
Official page ↗
- Aliases
- CVE-2017-1000116
- Ecosystem
- PyPI
- Packages
- mercurial
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2024-05-01
Affected packages
• PyPI mercurial: < 4.3 → fixed in 4.3
Description
Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.
Related
Alias · CVE (1)
- CVE-2017-1000116 Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000116 advisory
- https://access.redhat.com/errata/RHSA-2017:2489 web
- https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-89.yaml web
- https://security.gentoo.org/glsa/201709-18 web
- https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290 web
- https://wiki.mercurial-scm.org/WhatsNew/Archive web
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29 web
- http://www.debian.org/security/2017/dsa-3963 web