Issued:
2017-08-01
Updated:
2017-08-01

RHSA-2017:2004 - Moderate: git security and bug fix update


Synopsis

Moderate: git security and bug fix update

Type/Severity

Security Advisory Moderate

Topic

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.

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.

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

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.7x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.6x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.4x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.7x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.6x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.5x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.4x86_64
Red Hat Enterprise Linux for Scientific Computing7x86_64
Red Hat Enterprise Linux for Power, little endian7ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.7ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.6ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.5ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.4ppc64le
Red Hat Enterprise Linux for Power, big endian7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.6ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.5ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.4ppc64
Red Hat Enterprise Linux for IBM z Systems7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.6s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.5s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.4s390x
Red Hat Enterprise Linux Workstation7x86_64
Red Hat Enterprise Linux Server7x86_64
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.7ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.6ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.4ppc64le
Red Hat Enterprise Linux Server - TUS7.7x86_64
Red Hat Enterprise Linux Server - TUS7.6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support7x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian7ppc64le
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian7ppc64
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)7s390x
Red Hat Enterprise Linux Server - AUS7.7x86_64
Red Hat Enterprise Linux Server - AUS7.6x86_64
Red Hat Enterprise Linux Server - AUS7.4x86_64
Red Hat Enterprise Linux EUS Compute Node7.7x86_64
Red Hat Enterprise Linux EUS Compute Node7.6x86_64
Red Hat Enterprise Linux EUS Compute Node7.5x86_64
Red Hat Enterprise Linux EUS Compute Node7.4x86_64
Red Hat Enterprise Linux Desktop7x86_64

Updated Packages

  • git-daemon-1.8.3.1-11.el7.aarch64.rpm
  • git-svn-1.8.3.1-11.el7.ppc64.rpm
  • perl-Git-1.8.3.1-11.el7.noarch.rpm
  • git-bzr-1.8.3.1-11.el7.noarch.rpm
  • gitk-1.8.3.1-11.el7.noarch.rpm
  • git-daemon-1.8.3.1-11.el7.s390x.rpm
  • git-svn-1.8.3.1-11.el7.aarch64.rpm
  • git-p4-1.8.3.1-11.el7.noarch.rpm
  • perl-Git-SVN-1.8.3.1-11.el7.noarch.rpm
  • git-1.8.3.1-11.el7.s390x.rpm
  • git-all-1.8.3.1-11.el7.noarch.rpm
  • git-email-1.8.3.1-11.el7.noarch.rpm
  • git-svn-1.8.3.1-11.el7.ppc64le.rpm
  • git-hg-1.8.3.1-11.el7.noarch.rpm
  • git-gui-1.8.3.1-11.el7.noarch.rpm
  • git-1.8.3.1-11.el7.ppc64.rpm
  • git-debuginfo-1.8.3.1-11.el7.s390x.rpm
  • git-1.8.3.1-11.el7.aarch64.rpm
  • git-1.8.3.1-11.el7.x86_64.rpm
  • git-daemon-1.8.3.1-11.el7.x86_64.rpm
  • git-daemon-1.8.3.1-11.el7.ppc64le.rpm
  • git-debuginfo-1.8.3.1-11.el7.aarch64.rpm
  • git-1.8.3.1-11.el7.src.rpm
  • git-debuginfo-1.8.3.1-11.el7.ppc64le.rpm
  • git-cvs-1.8.3.1-11.el7.noarch.rpm
  • gitweb-1.8.3.1-11.el7.noarch.rpm
  • emacs-git-1.8.3.1-11.el7.noarch.rpm
  • git-1.8.3.1-11.el7.ppc64le.rpm
  • git-debuginfo-1.8.3.1-11.el7.ppc64.rpm
  • git-svn-1.8.3.1-11.el7.s390x.rpm
  • git-daemon-1.8.3.1-11.el7.ppc64.rpm
  • git-svn-1.8.3.1-11.el7.x86_64.rpm
  • git-debuginfo-1.8.3.1-11.el7.x86_64.rpm
  • emacs-git-el-1.8.3.1-11.el7.noarch.rpm

Fixes

CVEs

References


Additional information