OS Command Injection in mercurial (Alpine package)



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-1000116
CWE-ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
mercurial (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU31408

Risk: High

CVSSv4.0: 8.1 [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 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

mercurial (Alpine package): 3.7.3-r1 - 4.1.3-r0

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###