ESB-2017.1887 - [RedHat] git: Multiple vulnerabilities 2017-08-02

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2017.1887
                 Moderate: git security and bug fix update
                               2 August 2017

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           git
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Modify Arbitrary Files          -- Existing Account            
                   Access Confidential Data        -- Existing Account            
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-8386 CVE-2014-9938 CVE-2011-2192

Reference:         ESB-2017.1235
                   ESB-2017.1184
                   ESB-2017.0793.2

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2017:2004

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: git security and bug fix update
Advisory ID:       RHSA-2017:2004-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2017:2004
Issue date:        2017-08-01
CVE Names:         CVE-2014-9938 CVE-2017-8386 
=====================================================================

1. Summary:

An update for git is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. 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

3. Description:

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.

Security Fix(es):

* It was found that the git-prompt.sh script shipped with git failed to
correctly handle branch names containing special characters. A specially
crafted git repository could use this flaw to execute arbitrary commands if
a user working with the repository configured their shell to include
repository information in the prompt. (CVE-2014-9938)

* A flaw was found in the way git-shell handled command-line options for
the restricted set of git-shell commands. A remote, authenticated attacker
could use this flaw to bypass git-shell restrictions, to view and
manipulate files, by abusing the instance of the less command launched
using crafted command-line options. (CVE-2017-8386)

Additional Changes:

For detailed information on changes in this release, see the Red Hat
Enterprise Linux 7.4 Release Notes linked from the References section.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

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

5. Bugs fixed (https://bugzilla.redhat.com/):

1369173 - Git is unable to use HTTP(S)-SSO because of fix for CVE-2011-2192 [el7]
1434415 - CVE-2014-9938 git: git-prompt.sh does not sanitize branch names in $PS1
1450407 - CVE-2017-8386 git: Escape out of git-shell

6. Package List:

Red Hat Enterprise Linux Client Optional (v. 7):

Source:
git-1.8.3.1-11.el7.src.rpm

noarch:
emacs-git-1.8.3.1-11.el7.noarch.rpm
emacs-git-el-1.8.3.1-11.el7.noarch.rpm
git-all-1.8.3.1-11.el7.noarch.rpm
git-bzr-1.8.3.1-11.el7.noarch.rpm
git-cvs-1.8.3.1-11.el7.noarch.rpm
git-email-1.8.3.1-11.el7.noarch.rpm
git-gui-1.8.3.1-11.el7.noarch.rpm
git-hg-1.8.3.1-11.el7.noarch.rpm
git-p4-1.8.3.1-11.el7.noarch.rpm
gitk-1.8.3.1-11.el7.noarch.rpm
gitweb-1.8.3.1-11.el7.noarch.rpm
perl-Git-1.8.3.1-11.el7.noarch.rpm
perl-Git-SVN-1.8.3.1-11.el7.noarch.rpm

x86_64:
git-1.8.3.1-11.el7.x86_64.rpm
git-daemon-1.8.3.1-11.el7.x86_64.rpm
git-debuginfo-1.8.3.1-11.el7.x86_64.rpm
git-svn-1.8.3.1-11.el7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

Source:
git-1.8.3.1-11.el7.src.rpm

noarch:
emacs-git-1.8.3.1-11.el7.noarch.rpm
emacs-git-el-1.8.3.1-11.el7.noarch.rpm
git-all-1.8.3.1-11.el7.noarch.rpm
git-bzr-1.8.3.1-11.el7.noarch.rpm
git-cvs-1.8.3.1-11.el7.noarch.rpm
git-email-1.8.3.1-11.el7.noarch.rpm
git-gui-1.8.3.1-11.el7.noarch.rpm
git-hg-1.8.3.1-11.el7.noarch.rpm
git-p4-1.8.3.1-11.el7.noarch.rpm
gitk-1.8.3.1-11.el7.noarch.rpm
gitweb-1.8.3.1-11.el7.noarch.rpm
perl-Git-1.8.3.1-11.el7.noarch.rpm
perl-Git-SVN-1.8.3.1-11.el7.noarch.rpm

x86_64:
git-1.8.3.1-11.el7.x86_64.rpm
git-daemon-1.8.3.1-11.el7.x86_64.rpm
git-debuginfo-1.8.3.1-11.el7.x86_64.rpm
git-svn-1.8.3.1-11.el7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
git-1.8.3.1-11.el7.src.rpm

aarch64:
git-1.8.3.1-11.el7.aarch64.rpm
git-debuginfo-1.8.3.1-11.el7.aarch64.rpm

noarch:
perl-Git-1.8.3.1-11.el7.noarch.rpm

ppc64:
git-1.8.3.1-11.el7.ppc64.rpm
git-debuginfo-1.8.3.1-11.el7.ppc64.rpm

ppc64le:
git-1.8.3.1-11.el7.ppc64le.rpm
git-debuginfo-1.8.3.1-11.el7.ppc64le.rpm

s390x:
git-1.8.3.1-11.el7.s390x.rpm
git-debuginfo-1.8.3.1-11.el7.s390x.rpm

x86_64:
git-1.8.3.1-11.el7.x86_64.rpm
git-debuginfo-1.8.3.1-11.el7.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

aarch64:
git-daemon-1.8.3.1-11.el7.aarch64.rpm
git-debuginfo-1.8.3.1-11.el7.aarch64.rpm
git-svn-1.8.3.1-11.el7.aarch64.rpm

noarch:
emacs-git-1.8.3.1-11.el7.noarch.rpm
emacs-git-el-1.8.3.1-11.el7.noarch.rpm
git-all-1.8.3.1-11.el7.noarch.rpm
git-bzr-1.8.3.1-11.el7.noarch.rpm
git-cvs-1.8.3.1-11.el7.noarch.rpm
git-email-1.8.3.1-11.el7.noarch.rpm
git-gui-1.8.3.1-11.el7.noarch.rpm
git-hg-1.8.3.1-11.el7.noarch.rpm
git-p4-1.8.3.1-11.el7.noarch.rpm
gitk-1.8.3.1-11.el7.noarch.rpm
gitweb-1.8.3.1-11.el7.noarch.rpm
perl-Git-SVN-1.8.3.1-11.el7.noarch.rpm

ppc64:
git-daemon-1.8.3.1-11.el7.ppc64.rpm
git-debuginfo-1.8.3.1-11.el7.ppc64.rpm
git-svn-1.8.3.1-11.el7.ppc64.rpm

ppc64le:
git-daemon-1.8.3.1-11.el7.ppc64le.rpm
git-debuginfo-1.8.3.1-11.el7.ppc64le.rpm
git-svn-1.8.3.1-11.el7.ppc64le.rpm

s390x:
git-daemon-1.8.3.1-11.el7.s390x.rpm
git-debuginfo-1.8.3.1-11.el7.s390x.rpm
git-svn-1.8.3.1-11.el7.s390x.rpm

x86_64:
git-daemon-1.8.3.1-11.el7.x86_64.rpm
git-debuginfo-1.8.3.1-11.el7.x86_64.rpm
git-svn-1.8.3.1-11.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
git-1.8.3.1-11.el7.src.rpm

noarch:
perl-Git-1.8.3.1-11.el7.noarch.rpm

x86_64:
git-1.8.3.1-11.el7.x86_64.rpm
git-debuginfo-1.8.3.1-11.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

noarch:
emacs-git-1.8.3.1-11.el7.noarch.rpm
emacs-git-el-1.8.3.1-11.el7.noarch.rpm
git-all-1.8.3.1-11.el7.noarch.rpm
git-bzr-1.8.3.1-11.el7.noarch.rpm
git-cvs-1.8.3.1-11.el7.noarch.rpm
git-email-1.8.3.1-11.el7.noarch.rpm
git-gui-1.8.3.1-11.el7.noarch.rpm
git-hg-1.8.3.1-11.el7.noarch.rpm
git-p4-1.8.3.1-11.el7.noarch.rpm
gitk-1.8.3.1-11.el7.noarch.rpm
gitweb-1.8.3.1-11.el7.noarch.rpm
perl-Git-SVN-1.8.3.1-11.el7.noarch.rpm

x86_64:
git-daemon-1.8.3.1-11.el7.x86_64.rpm
git-debuginfo-1.8.3.1-11.el7.x86_64.rpm
git-svn-1.8.3.1-11.el7.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2014-9938
https://access.redhat.com/security/cve/CVE-2017-8386
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.4_Release_Notes/index.html

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2017 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFZgOsQXlSAg2UNWIIRAokdAKCTurP04M+IKraSc6vg6wQMiNqtXQCeIL60
vibRGEus5UHn9w543jK02Cg=
=cjjl
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWYFKnox+lLeg9Ub1AQgaVg//TXe8Pmo4x5zTuGsQk2eSzHNUd553l56w
YUmq21tsGJqdcniJpoUIR9JI2DVEV6/EQa3K5dAJhleIB2mpzANIW3KAwQu1aQGp
MPY1StHLycKsObfU5/pyhR2teKdPmVkFc1hlHFncLb+Sjc6dS0sfWMw2p8nGmFKj
mNRtC1kaRkiumHaimRhdQXJVCRwP1vsCpkAW4D8XS+pfaRnxFopLU7MoEYQIbqR3
2d+bgdZUYo7TcLIpqfUMtrU2fBZExU+FPzkKMcxBd4KMFfZD/Teu3AeGJZAw0+5N
T7qINjy5yaEsNJbDMZRIMc7VroxoYrK792+4CbnWqQHwU+5Hhj1ug02/INvfT+3E
2hs1ZM0ZkgqioGDZX1Dt/FXjxiSbsT4SbU0ffHcHoD+vHybCiwbgZBzgwuZ0LskZ
TaL11RMpZndaWkf3GdDPYrFBQLT8e1p01SyDXnQ++FtUA9iNHRqTC5IMmeqFLBFL
59nA2+L4gSAKLTMx1Ka42SnTxQmEvZcLcLvcea+pzIxEdsch9htLYKn3y0IRKiKo
1W7eli6DjxnTzcT5Q2cdBP+J6igREuffnBn3gZl6AJMRjq9h88AP4LQ1uFpXnqdJ
GEogw1OEIJ0GU4+Pn4usHCquRZW7iNuWWDf5ltAKzXuJTmRtmrgYrGiDrPDyPhY/
IKalvC4N+Tg=
=56+9
-----END PGP SIGNATURE-----

« Back to bulletins