Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 461
Alerts This Week
Warning Icon 1 461

Red Hat Enterprise Linux 7: RHSA-2015:2561-01 Git Command Injection Risk

red hat
Calendar Grey December 8, 2015
Scroller Redhat
Critical patch issued for Git software on Red Hat Enterprise Linux addresses significant vulnerabilities. Users are urged to update promptly.
Updated git packages that fix one security issue are now available for Red Hat Enterprise Linux 7

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Summary

Git is a distributed revision control system with a decentralized architecture. As opposed to centralized version control systems with a client-server model, Git ensures that each working copy of a Git repository is an exact copy with complete revision history. This not only allows the user to work on and contribute to projects without the need to have permission to push the changes to their official repositories, but also makes it possible for the user to work with no network connection.
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. (BZ#1269794)
All git users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue.

References

https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux Client Optional (v. 7):
Source: git-1.8.3.1-6.el7.src.rpm
noarch: emacs-git-1.8.3.1-6.el7.noarch.rpm emacs-git-el-1.8.3.1-6.el7.noarch.rpm git-all-1.8.3.1-6.el7.noarch.rpm git-bzr-1.8.3.1-6.el7.noarch.rpm git-cvs-1.8.3.1-6.el7.noarch.rpm git-email-1.8.3.1-6.el7.noarch.rpm git-gui-1.8.3.1-6.el7.noarch.rpm git-hg-1.8.3.1-6.el7.noarch.rpm git-p4-1.8.3.1-6.el7.noarch.rpm gitk-1.8.3.1-6.el7.noarch.rpm gitweb-1.8.3.1-6.el7.noarch.rpm perl-Git-1.8.3.1-6.el7.noarch.rpm perl-Git-SVN-1.8.3.1-6.el7.noarch.rpm
x86_64: git-1.8.3.1-6.el7.x86_64.rpm git-daemon-1.8.3.1-6.el7.x86_64.rpm git-debuginfo-1.8.3.1-6.el7.x86_64.rpm git-svn-1.8.3.1-6.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
Source: git-1.8.3.1-6.el7.src.rpm
noarch: emacs-git-1.8.3.1-6.el7.noarch.rpm emacs-git-el-1.8.3.1-6.el7.noarch.rpm git-all-1.8.3.1-6.el7.noarch.rpm git-bzr-1.8.3.1-6.el7.noarch.rpm git-cvs-1.8.3.1-6.el7.noarch.rpm git-email-1.8.3.1-6.el7.noarch.rpm git-gui-1.8.3.1-6.el7.noarch.rpm git-hg-1.8.3.1-6.el7.noarch.rpm git-p4-1.8.3.1-6.el7.noarch.rpm gitk-1.8.3.1-6.el7.noarch.rpm gitweb-1.8.3.1-6.el7.noarch.rpm perl-Git-1.8.3.1-6.el7.noarch.rpm perl-Git-SVN-1.8.3.1-6.el7.noarch.rpm
x86_64: git-1.8.3.1-6.el7.x86_64.rpm git-daemon-1.8.3.1-6.el7.x86_64.rpm

Read the Full Advisory


Advisory ID: RHSA-2015:2561-01
Product: Red Hat Enterprise Linux
Issue date: 2015-12-08

Topic

Updated git packages that fix one security issue are now available for RedHat Enterprise Linux 7.Red Hat Product Security has rated this update as having Moderate securityimpact. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available from the CVE link in theReferences section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client Optional (v. 7) - noarch, x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - noarch, x86_64

Red Hat Enterprise Linux Server (v. 7) - aarch64, noarch, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - aarch64, noarch, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - noarch, x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - noarch, x86_64

Bugs Fixed

1269794 - git: arbitrary code execution via crafted URLs

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.