OS Command Injection in Mercurial - CVE-2017-1000116

 

OS Command Injection in Mercurial - CVE-2017-1000116

Published: October 5, 2017 / Updated: July 18, 2020


Vulnerability identifier: #VU31408
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-1000116
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Mercurial
Affected software:
Mercurial

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.


How to mitigate CVE-2017-1000116

Install update from vendor's website.

Sources