Red Hat 9041 Published by

A: rh-git227-git security update has been released for Red Hat Enterprise Linux 7.



RHSA-2023:0597-01: Important: rh-git227-git security update



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

Synopsis: Important: rh-git227-git security update
Advisory ID: RHSA-2023:0597-01
Product: Red Hat Software Collections
Advisory URL:   https://access.redhat.com/errata/RHSA-2023:0597
Issue date: 2023-02-06
CVE Names: CVE-2022-23521 CVE-2022-41903
=====================================================================

1. Summary:

An update for rh-git227-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. 7) - noarch, ppc64le, s390x, 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):

* git: gitattributes parsing integer overflow (CVE-2022-23521)

* git: Heap overflow in `git archive`, `git log --format` leading to RCE
(CVE-2022-41903)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in 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/):

2162055 - CVE-2022-23521 git: gitattributes parsing integer overflow
2162056 - CVE-2022-41903 git: Heap overflow in `git archive`, `git log --format` leading to RCE

6. Package List:

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

Source:
rh-git227-git-2.27.0-4.el7.src.rpm

noarch:
rh-git227-git-all-2.27.0-4.el7.noarch.rpm
rh-git227-git-core-doc-2.27.0-4.el7.noarch.rpm
rh-git227-git-cvs-2.27.0-4.el7.noarch.rpm
rh-git227-git-email-2.27.0-4.el7.noarch.rpm
rh-git227-git-gui-2.27.0-4.el7.noarch.rpm
rh-git227-git-instaweb-2.27.0-4.el7.noarch.rpm
rh-git227-git-p4-2.27.0-4.el7.noarch.rpm
rh-git227-git-svn-2.27.0-4.el7.noarch.rpm
rh-git227-gitk-2.27.0-4.el7.noarch.rpm
rh-git227-gitweb-2.27.0-4.el7.noarch.rpm
rh-git227-perl-Git-2.27.0-4.el7.noarch.rpm
rh-git227-perl-Git-SVN-2.27.0-4.el7.noarch.rpm

ppc64le:
rh-git227-git-2.27.0-4.el7.ppc64le.rpm
rh-git227-git-core-2.27.0-4.el7.ppc64le.rpm
rh-git227-git-credential-libsecret-2.27.0-4.el7.ppc64le.rpm
rh-git227-git-daemon-2.27.0-4.el7.ppc64le.rpm
rh-git227-git-debuginfo-2.27.0-4.el7.ppc64le.rpm
rh-git227-git-subtree-2.27.0-4.el7.ppc64le.rpm

s390x:
rh-git227-git-2.27.0-4.el7.s390x.rpm
rh-git227-git-core-2.27.0-4.el7.s390x.rpm
rh-git227-git-credential-libsecret-2.27.0-4.el7.s390x.rpm
rh-git227-git-daemon-2.27.0-4.el7.s390x.rpm
rh-git227-git-debuginfo-2.27.0-4.el7.s390x.rpm
rh-git227-git-subtree-2.27.0-4.el7.s390x.rpm

x86_64:
rh-git227-git-2.27.0-4.el7.x86_64.rpm
rh-git227-git-core-2.27.0-4.el7.x86_64.rpm
rh-git227-git-credential-libsecret-2.27.0-4.el7.x86_64.rpm
rh-git227-git-daemon-2.27.0-4.el7.x86_64.rpm
rh-git227-git-debuginfo-2.27.0-4.el7.x86_64.rpm
rh-git227-git-subtree-2.27.0-4.el7.x86_64.rpm

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

Source:
rh-git227-git-2.27.0-4.el7.src.rpm

noarch:
rh-git227-git-all-2.27.0-4.el7.noarch.rpm
rh-git227-git-core-doc-2.27.0-4.el7.noarch.rpm
rh-git227-git-cvs-2.27.0-4.el7.noarch.rpm
rh-git227-git-email-2.27.0-4.el7.noarch.rpm
rh-git227-git-gui-2.27.0-4.el7.noarch.rpm
rh-git227-git-instaweb-2.27.0-4.el7.noarch.rpm
rh-git227-git-p4-2.27.0-4.el7.noarch.rpm
rh-git227-git-svn-2.27.0-4.el7.noarch.rpm
rh-git227-gitk-2.27.0-4.el7.noarch.rpm
rh-git227-gitweb-2.27.0-4.el7.noarch.rpm
rh-git227-perl-Git-2.27.0-4.el7.noarch.rpm
rh-git227-perl-Git-SVN-2.27.0-4.el7.noarch.rpm

x86_64:
rh-git227-git-2.27.0-4.el7.x86_64.rpm
rh-git227-git-core-2.27.0-4.el7.x86_64.rpm
rh-git227-git-credential-libsecret-2.27.0-4.el7.x86_64.rpm
rh-git227-git-daemon-2.27.0-4.el7.x86_64.rpm
rh-git227-git-debuginfo-2.27.0-4.el7.x86_64.rpm
rh-git227-git-subtree-2.27.0-4.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-2022-23521
  https://access.redhat.com/security/cve/CVE-2022-41903
  https://access.redhat.com/security/updates/classification/#important

8. Contact:

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

Copyright 2023 Red Hat, Inc.