CVE-2015-7545: Input Validation

Published Oct 8, 2015
·
Updated

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.

Other sources

The following issue was fixed in Git version 2.6.1:

Some protocols (like git-remote-ext) can execute arbitrary code found in the URL. The URLs that submodules use may come from arbitrary sources (e.g., .gitmodules files in a remote repository), and can hurt those who blindly enable recursive fetch. Restrict the allowed protocols to well known and safe ones.

Upstream patches:

https://kernel.googlesource.com/pub/scm/git/git/+/a5adaced2e13c135d5d9cc65be9eb95aa3bacedf%5E%21/ https://kernel.googlesource.com/pub/scm/git/git/+/33cfccbbf35a56e190b79bdec5c85457c952a021%5E%21/ https://kernel.googlesource.com/pub/scm/git/git/+/5088d3b38775f8ac12d7f77636775b16059b67ef%5E%21/ https://kernel.googlesource.com/pub/scm/git/git/+/f4113cac0c88b4f36ee6f3abf3218034440a68e3%5E%21/ https://kernel.googlesource.com/pub/scm/git/git/+/b258116462399b318c86165c61a5c7123043cfd4%5E%21/

CVE request:

http://seclists.org/oss-sec/2015/q4/37

Red Hat

Affected Software

25 affected componentsFixes available
redhat/git<2.6.1
2.6.1
redhat/git<2.3.10
2.3.10
Git Project Git<=2.3.9
Git Project Git=2.4.0
Git Project Git=2.4.1
Git Project Git=2.4.2
Git Project Git=2.4.3
Git Project Git=2.4.4
Git Project Git=2.4.5
Git Project Git=2.4.6
Git Project Git=2.4.7
Git Project Git=2.4.8
Git Project Git=2.4.9
Git Project Git=2.5.0
Git Project Git=2.5.1
Git Project Git=2.5.2
Git Project Git=2.5.3
Git Project Git=2.6.0
redhat Software Collections=1.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.04
Canonical Ubuntu Linux=15.10
openSUSE openSUSE=13.1
openSUSE openSUSE=13.2

Event History

Oct 8, 2015
Data Sourced
via Red Hat·08:53 AM
DescriptionSeverityAffected Software
Apr 13, 2016
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-7545?

CVE-2015-7545 has a high severity rating due to the potential for remote code execution.

2

How do I fix CVE-2015-7545?

To fix CVE-2015-7545, update Git to version 2.6.1 or later.

3

Which versions of Git are affected by CVE-2015-7545?

CVE-2015-7545 affects Git versions 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.

4

What type of attack does CVE-2015-7545 enable?

CVE-2015-7545 could allow attackers to execute arbitrary code through specially crafted URLs in .gitmodules files.

5

Is there a workaround for CVE-2015-7545?

While updating is the recommended solution for CVE-2015-7545, restricting remote helper protocols may serve as a temporary workaround.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203