Input validation error in Mercurial - CVE-2015-7545

 

Input validation error in Mercurial - CVE-2015-7545

Published: April 13, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32315
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-2015-7545
CWE-ID: CWE-20
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.

The (1) git-remote-ext and (2) unspecified other remote helper programs in Git before 2.3.10, 2.4.x before 2.4.10, 2.5.x before 2.5.4, and 2.6.x before 2.6.1 do not properly restrict the allowed protocols, which might allow remote attackers to execute arbitrary code via a URL in a (a) .gitmodules file or (b) unknown other sources in a submodule.


How to mitigate CVE-2015-7545

Install update from vendor's website.

Sources