CVE Database›Document archive›CVE-2015-7545

CVE-2015-7545

git: arbitrary code execution via crafted URLs

Loading…

Severity

Moderate

Red Hat Product Security

6.8

CVSS 2.0

Review impact separately from score.

Published · October 5, 2015

Updated · November 2, 2026

Description

A flaw was found in the way the git-remote-ext helper processed certain URLs. If a user had Git configured to automatically clone submodules from untrusted repositories, an attacker could inject commands into the URL of a submodule, allowing them to execute arbitrary code on the user's system.

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

Avoid recursive cloning or updating of git submodules without checking the submodule URL. Non-recursive cloning is the default in git, so user needs to change this to become vulnerable ("e.g. by specifying --recursive").

CVSS / CWE

CVSS 2.0 · 6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P

CWE-77 · Improper Neutralization of Special Elements used in a Command