#VU10849 OS command injection in Mercurial - CVE-2017-17458


| Updated: 2018-03-06

Vulnerability identifier: #VU10849

Vulnerability risk: Low

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:Clear]

CVE-ID: CVE-2017-17458

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Mercurial
Client/Desktop applications / Other client software

Vendor: Mercurial

Description
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The weakness exists due to cross repositories modification. A remote attacker can send a specially crafted mercurial repository and trigger arbitrary commands on a client during commands such as clone or update.

Mitigation
Update to version 4.4.1.

Vulnerable software versions

Mercurial: 4.0 - 4.4


External links
https://bz.mercurial-scm.org/show_bug.cgi?id=5730


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.


Latest bulletins with this vulnerability