CVE-2015-7545
git: arbitrary code execution via crafted URLs
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Amazon (medium), Oracle (medium), Ubuntu (medium).
Description
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 5.0 | git, git-extras, git-lang | 2.43.7-1.ph5 |
| amazon linux 1 | emacs-git, emacs-git-el, git and 12 more | 2.4.3-7.42.amzn1 |
| debian 11 | git | 1:2.6.1-1 |
| debian 12 | git | 1:2.6.1-1 |
| debian 13 | git | 1:2.6.1-1 |
| debian 14 | git | 1:2.6.1-1 |
| debian 7 | git | 1:1.7.10.4-1+wheezy2 |
| debian 8 | git | 1:2.1.4-2.1+deb8u1 |
| echo | git | 1:2.6.1-1 |
| Oracle Linux 6 | git19-emacs-git, git19-emacs-git-el, git19-git and 10 more | 1.9.4-3.el6.1 |
| Oracle Linux 7 | emacs-git, emacs-git-el, git and 28 more | 1.8.3.1-6.el7 and 1 more |
| root.io debian 11 | rootio-git | 1:2.6.1-1 |
Show all 76 entries from 18 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 5.0 | git | 2.43.7-1.ph5 |
| Photon OS 5.0 | git-extras | 2.43.7-1.ph5 |
| Photon OS 5.0 | git-lang | 2.43.7-1.ph5 |
| amazon linux 1 | emacs-git | 2.4.3-7.42.amzn1 |
| amazon linux 1 | emacs-git-el | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git-all | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git-bzr | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git-cvs | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git-daemon | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git-debuginfo | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git-email | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git-hg | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git-p4 | 2.4.3-7.42.amzn1 |
| amazon linux 1 | git-svn | 2.4.3-7.42.amzn1 |
| amazon linux 1 | gitweb | 2.4.3-7.42.amzn1 |
| amazon linux 1 | perl-Git | 2.4.3-7.42.amzn1 |
| amazon linux 1 | perl-Git-SVN | 2.4.3-7.42.amzn1 |
| debian 11 | git | 1:2.6.1-1 |
| debian 12 | git | 1:2.6.1-1 |
| debian 13 | git | 1:2.6.1-1 |
| debian 14 | git | 1:2.6.1-1 |
| debian 7 | git | 1:1.7.10.4-1+wheezy2 |
| debian 8 | git | 1:2.1.4-2.1+deb8u1 |
| echo | git | 1:2.6.1-1 |
| Oracle Linux 6 | git19-emacs-git | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-emacs-git-el | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-git | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-git-all | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-git-cvs | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-git-daemon | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-git-email | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-git-gui | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-git-svn | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-gitk | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-gitweb | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-perl-Git | 1.9.4-3.el6.1 |
| Oracle Linux 6 | git19-perl-Git-SVN | 1.9.4-3.el6.1 |
| Oracle Linux 7 | emacs-git | 1.8.3.1-6.el7 |
| Oracle Linux 7 | emacs-git-el | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git-all | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git-bzr | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git-cvs | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git-daemon | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git-email | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git-gui | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git-hg | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git-p4 | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git-svn | 1.8.3.1-6.el7 |
| Oracle Linux 7 | git19-emacs-git | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-emacs-git-el | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-git | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-git-all | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-git-bzr | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-git-cvs | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-git-daemon | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-git-email | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-git-gui | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-git-hg | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-git-svn | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-gitk | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-gitweb | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-perl-Git | 1.9.4-3.el7.1 |
| Oracle Linux 7 | git19-perl-Git-SVN | 1.9.4-3.el7.1 |
| Oracle Linux 7 | gitk | 1.8.3.1-6.el7 |
| Oracle Linux 7 | gitweb | 1.8.3.1-6.el7 |
| Oracle Linux 7 | perl-Git | 1.8.3.1-6.el7 |
| Oracle Linux 7 | perl-Git-SVN | 1.8.3.1-6.el7 |
| root.io debian 11 | rootio-git | 1:2.6.1-1 |
| root.io debian 12 | rootio-git | 1:2.6.1-1 |
| root.io debian 13 | rootio-git | 1:2.6.1-1 |
| ubuntu 12.04 | git | 1:1.7.9.5-1ubuntu0.2 |
| ubuntu 14.04 | git | 1:1.9.1-1ubuntu0.2 |
| ubuntu 15.04 | git | 1:2.1.4-2.1ubuntu0.1 |
| ubuntu 15.10 | git | 1:2.5.0-1ubuntu0.1 |
References
- http://lists.opensuse.org/opensuse-updates/2015-11/msg00066.html
- http://rhn.redhat.com/errata/RHSA-2015-2515.html
- http://seclists.org/oss-sec/2015/q4/67
- http://www.debian.org/security/2016/dsa-3435
- http://www.openwall.com/lists/oss-security/2015/10/06/1
- http://www.openwall.com/lists/oss-security/2015/12/08/5
- http://www.openwall.com/lists/oss-security/2015/12/09/7
- http://www.openwall.com/lists/oss-security/2015/12/09/8
All 30 references
- http://www.openwall.com/lists/oss-security/2015/12/11/7
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://www.securityfocus.com/bid/78711
- http://www.securitytracker.com/id/1034501
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.533255
- http://www.ubuntu.com/usn/USN-2835-1
- https://access.redhat.com/security/cve/CVE-2015-7545
- https://bugzilla.redhat.com/show_bug.cgi?id=1269794
- https://github.com/git/git/blob/master/Documentation/RelNotes/2.3.10.txt
- https://github.com/git/git/blob/master/Documentation/RelNotes/2.4.10.txt
- https://github.com/git/git/blob/master/Documentation/RelNotes/2.5.4.txt
- https://github.com/git/git/blob/master/Documentation/RelNotes/2.6.1.txt
- https://kernel.googlesource.com/pub/scm/git/git/+/33cfccbbf35a56e190b79bdec5c85457c952a021
- https://linux.oracle.com/cve/CVE-2015-7545.html
- https://linux.oracle.com/errata/ELSA-2015-2561.html
- https://lkml.org/lkml/2015/10/5/683
- https://nvd.nist.gov/vuln/detail/CVE-2015-7545
- https://security.gentoo.org/glsa/201605-01
- https://ubuntu.com/security/notices/USN-2835-1
- https://www.cve.org/CVERecord?id=CVE-2015-7545