SB2017081823 - OS Command Injection in mercurial (Alpine package)
Published: August 18, 2017
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) OS Command Injection (CVE-ID: CVE-2017-1000116)
CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSSv4: 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
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.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=46f1c492e93cefbba5d56966c46faa646f845510
- https://git.alpinelinux.org/aports/commit/?id=cdafec626b8c0da56c2fd216d6c454ccb98540f3
- https://git.alpinelinux.org/aports/commit/?id=d01cd6090d5500f9d87d2f4d49148060f00177e8
- https://git.alpinelinux.org/aports/commit/?id=acca7b1865fb507a4a9d2350ef569214191f19b9