CVE-2016-3105
mercurial: arbitrary code execution when converting git repos
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · April 6, 2016
Updated · November 21, 2025
Description
It was discovered that the Mercurial convert extension invoked Git in a way that could cause Git to interpret local repository name as remote repository URL. A Git repository with a specially crafted name could cause Mercurial to execute arbitrary code when the Git repository was converted to a Mercurial repository.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 5.1AV:N/AC:H/Au:N/C:P/I:P/A:P
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')