SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   Git Vendors:   kernel.org
(Red Hat Issues Fix) Git Lets Remote Authenticated Users Escape the 'git-shell' and Gain Elevated Privileges
SecurityTracker Alert ID:  1039211
SecurityTracker URL:  http://securitytracker.com/id/1039211
CVE Reference:   CVE-2017-8386   (Links to External Site)
Date:  Aug 21 2017
Impact:   User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   A vulnerability was reported in Git. A remote authenticated user can gain elevated privileges.

A remote authenticated user can supply a specially crafted repository name to break out of the restricted git-shell and gain elevated privileges on the target system.

A repository name that starts with a dash can trigger this flaw.

Servers configured to use git-shell as a login shell are affected.

The original advisory is available at:

https://insinuator.net/2017/05/git-shell-bypass-by-abusing-less-cve-2017-8386/

Timo Schmid reported this vulnerability.

Impact:   A remote authenticated user can gain elevated privileges on the target system.
Solution:   Red Hat has issued a fix for rh-git29-git.

The Red Hat advisory is available at:

https://access.redhat.com/errata/RHSA-2017:2491

Vendor URL:  access.redhat.com/errata/RHSA-2017:2491 (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  6, 7

Message History:   This archive entry is a follow-up to the message listed below.
May 15 2017 Git Lets Remote Authenticated Users Escape the 'git-shell' and Gain Elevated Privileges



 Source Message Contents

Subject:  [RHSA-2017:2491-01] Important: rh-git29-git security update

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

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

Synopsis:          Important: rh-git29-git security update
Advisory ID:       RHSA-2017:2491-01
Product:           Red Hat Software Collections
Advisory URL:      https://access.redhat.com/errata/RHSA-2017:2491
Issue date:        2017-08-17
CVE Names:         CVE-2017-1000117 CVE-2017-8386 
=====================================================================

1. Summary:

An update for rh-git29-git is now available for Red Hat Software
Collections.

Red Hat Product Security has rated this update as having a security impact
of Important. 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 Software Collections for Red Hat Enterprise Linux Server (v. 6) - noarch, x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) - noarch, x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) - noarch, x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (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):

* A shell command injection flaw related to the handling of "ssh" URLs has
been discovered in Git. An attacker could use this flaw to execute shell
commands with the privileges of the user running the Git client, for
example, when performing a "clone" action on a malicious repository or a
legitimate repository containing a malicious commit. (CVE-2017-1000117)

* 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)

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/):

1450407 - CVE-2017-8386 git: Escape out of git-shell
1480386 - CVE-2017-1000117 git: Command injection via malicious ssh URLs

6. Package List:

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6):

Source:
rh-git29-git-2.9.3-3.el6.src.rpm

noarch:
rh-git29-emacs-git-2.9.3-3.el6.noarch.rpm
rh-git29-emacs-git-el-2.9.3-3.el6.noarch.rpm
rh-git29-git-all-2.9.3-3.el6.noarch.rpm
rh-git29-git-cvs-2.9.3-3.el6.noarch.rpm
rh-git29-git-email-2.9.3-3.el6.noarch.rpm
rh-git29-git-gui-2.9.3-3.el6.noarch.rpm
rh-git29-git-p4-2.9.3-3.el6.noarch.rpm
rh-git29-gitk-2.9.3-3.el6.noarch.rpm
rh-git29-gitweb-2.9.3-3.el6.noarch.rpm
rh-git29-perl-Git-2.9.3-3.el6.noarch.rpm
rh-git29-perl-Git-SVN-2.9.3-3.el6.noarch.rpm

x86_64:
rh-git29-git-2.9.3-3.el6.x86_64.rpm
rh-git29-git-core-2.9.3-3.el6.x86_64.rpm
rh-git29-git-core-doc-2.9.3-3.el6.x86_64.rpm
rh-git29-git-daemon-2.9.3-3.el6.x86_64.rpm
rh-git29-git-debuginfo-2.9.3-3.el6.x86_64.rpm
rh-git29-git-svn-2.9.3-3.el6.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6):

Source:
rh-git29-git-2.9.3-3.el6.src.rpm

noarch:
rh-git29-emacs-git-2.9.3-3.el6.noarch.rpm
rh-git29-emacs-git-el-2.9.3-3.el6.noarch.rpm
rh-git29-git-all-2.9.3-3.el6.noarch.rpm
rh-git29-git-cvs-2.9.3-3.el6.noarch.rpm
rh-git29-git-email-2.9.3-3.el6.noarch.rpm
rh-git29-git-gui-2.9.3-3.el6.noarch.rpm
rh-git29-git-p4-2.9.3-3.el6.noarch.rpm
rh-git29-gitk-2.9.3-3.el6.noarch.rpm
rh-git29-gitweb-2.9.3-3.el6.noarch.rpm
rh-git29-perl-Git-2.9.3-3.el6.noarch.rpm
rh-git29-perl-Git-SVN-2.9.3-3.el6.noarch.rpm

x86_64:
rh-git29-git-2.9.3-3.el6.x86_64.rpm
rh-git29-git-core-2.9.3-3.el6.x86_64.rpm
rh-git29-git-core-doc-2.9.3-3.el6.x86_64.rpm
rh-git29-git-daemon-2.9.3-3.el6.x86_64.rpm
rh-git29-git-debuginfo-2.9.3-3.el6.x86_64.rpm
rh-git29-git-svn-2.9.3-3.el6.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7):

Source:
rh-git29-git-2.9.3-3.el7.src.rpm

noarch:
rh-git29-git-all-2.9.3-3.el7.noarch.rpm
rh-git29-git-cvs-2.9.3-3.el7.noarch.rpm
rh-git29-git-email-2.9.3-3.el7.noarch.rpm
rh-git29-git-gui-2.9.3-3.el7.noarch.rpm
rh-git29-git-p4-2.9.3-3.el7.noarch.rpm
rh-git29-gitk-2.9.3-3.el7.noarch.rpm
rh-git29-gitweb-2.9.3-3.el7.noarch.rpm
rh-git29-perl-Git-2.9.3-3.el7.noarch.rpm
rh-git29-perl-Git-SVN-2.9.3-3.el7.noarch.rpm

x86_64:
rh-git29-git-2.9.3-3.el7.x86_64.rpm
rh-git29-git-core-2.9.3-3.el7.x86_64.rpm
rh-git29-git-core-doc-2.9.3-3.el7.x86_64.rpm
rh-git29-git-daemon-2.9.3-3.el7.x86_64.rpm
rh-git29-git-debuginfo-2.9.3-3.el7.x86_64.rpm
rh-git29-git-svn-2.9.3-3.el7.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7):

Source:
rh-git29-git-2.9.3-3.el7.src.rpm

noarch:
rh-git29-git-all-2.9.3-3.el7.noarch.rpm
rh-git29-git-cvs-2.9.3-3.el7.noarch.rpm
rh-git29-git-email-2.9.3-3.el7.noarch.rpm
rh-git29-git-gui-2.9.3-3.el7.noarch.rpm
rh-git29-git-p4-2.9.3-3.el7.noarch.rpm
rh-git29-gitk-2.9.3-3.el7.noarch.rpm
rh-git29-gitweb-2.9.3-3.el7.noarch.rpm
rh-git29-perl-Git-2.9.3-3.el7.noarch.rpm
rh-git29-perl-Git-SVN-2.9.3-3.el7.noarch.rpm

x86_64:
rh-git29-git-2.9.3-3.el7.x86_64.rpm
rh-git29-git-core-2.9.3-3.el7.x86_64.rpm
rh-git29-git-core-doc-2.9.3-3.el7.x86_64.rpm
rh-git29-git-daemon-2.9.3-3.el7.x86_64.rpm
rh-git29-git-debuginfo-2.9.3-3.el7.x86_64.rpm
rh-git29-git-svn-2.9.3-3.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-2017-1000117
https://access.redhat.com/security/cve/CVE-2017-8386
https://access.redhat.com/security/updates/classification/#important

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

iD8DBQFZlhI6XlSAg2UNWIIRAu30AJ9wMEQ0fiTcWQf0N0fgwru6Jx4BXACeOSti
zJRNqZ5DnNwrivblIekfaJU=
=PfOw
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2017, SecurityGlobal.net LLC