SB2017110312 - Command execution in Mercurial



SB2017110312 - Command execution in Mercurial

Published: November 3, 2017

Security Bulletin ID SB2017110312
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) OS command injection (CVE-ID: CVE-2017-17458)

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CVSSv4: 9.3 [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]


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.

Remediation

Install update from vendor's website.