cbcvebase.
CVE-2015-7545
published 2016-04-13

CVE-2015-7545: 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…

PriorityP266critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
20.14%
97.1th percentile
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.

Affected

28 ranges· showing 25
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiangit< git 1:2.6.1-1 (bookworm)git 1:2.6.1-1 (bookworm)
gitgit>= 0 < 1:2.6.1-11:2.6.1-1
gitgit>= 0 < 1:2.6.1-11:2.6.1-1
gitgit>= 0 < 1:2.6.1-11:2.6.1-1
gitgit>= 0 < 1:2.6.1-11:2.6.1-1
git_projectgit<= 2.3.9
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit
git_projectgit

Detection & IOCsextracted from sources · hover to see the quote

filename.gitmodules
commandext::ssh example.com %S foo/repo
processgit-remote-ext
  • Monitor for git clone operations using the --recursive flag against untrusted repositories, as this is required to trigger the vulnerability.
  • Inspect .gitmodules files in cloned repositories for URLs beginning with 'ext::' which indicate use of the git-remote-ext helper and potential command injection.
  • Detect absence or non-use of the GIT_ALLOW_PROTOCOL environment variable in git submodule operations; its presence whitelists safe protocols and mitigates exploitation.
  • Flag use of git-fastclone or Mercurial's convert extension against repositories with untrusted names/URLs, as these tools reimplement submodule fetching and are not protected by the upstream git patch.
  • ·Vulnerability is only exploitable when recursive submodule cloning/updating is explicitly enabled; default non-recursive git clone is not affected.
  • ·Tools that reimplement git submodule fetching (e.g., git-fastclone, Mercurial convert extension) remain vulnerable even when the underlying git binary is patched to a fixed version.
  • ·Red Hat Enterprise Linux 6 package of git was assessed as not affected by this CVE.
  • ·CVE-2016-3105 in Mercurial is a further side-effect of this CVE; Mercurial prior to 3.8 is also vulnerable when converting Git repos with hostile names.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.