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

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

                               ESB-2023.0670
                       rh-git227-git security update
                              7 February 2023

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

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

Product:           rh-git227-git
Publisher:         Red Hat
Operating System:  Red Hat
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-41903 CVE-2022-23521 

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2023:0597

Comment: CVSS (Max):  9.8 CVE-2022-41903 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
         CVSS Source: Red Hat
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

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

=====================================================================
                   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 <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

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

iQIVAwUBY+FwXdzjgjWX9erEAQheCg/+L33CXUzp+M2qV+0bcg2HOK53bJ8sSTU7
1EiUNpdYeMYYRj5QLhBiHZ7gUnwP7bHqYm2zdfV8lK8Jig2ZZv7oCmU92T6sLXRC
XfwSdHUfjztLcczbTc/3Xa73S9rbG2+DkzEh7w2LEm1tRaHZU+kCSc2chter3uev
1jcNqL+Bk/uvDz1BAyW/Fc8JOuWDzYGaUPnr228lNJWf474RcZZ7DU0xT0HdlKGP
5sIY7ZSHbuKwMOx/AeRuYpQuAdpEjWTFO2iPU1IoBMrYnFCPFCQDd7ufCQgaHCj7
pYEYEMJB2xOLMw7qj2NfFCXENuIvYaD29YguKazWzziRFQEg8OJqO24bdOOwZ4QS
1Ou3SZPy3dNFo8ZO0V0UiBFHZTRlbzaXdYkhTM80Y4ngMtSxk12rdmhAMa6lQs96
FkOb30+mvZeViuesT8PqIVcRW0qpioEYM0snjopWazCZBPbwYr/PkznvzRnv8B9I
5vX7Eh11vR89P+c4zHGkQ58oHeOTCzzWmsKJfsjT43AnxFkGZNwEiLcRFGIw9niJ
b6vASMxcD8rnBkUSCTuF55DN538Kfpksh1wAdI+gC1NHBIzUJtaPBgOzehg8CoNE
EunljT/Qze7+4dqC7gRytZIZoHZhpM0BcM55RQeqkwX7eISDobnbGCtoOEHWHN6S
/P9d0F8EgJ8=
=mJOU
- -----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:

        https://www.auscert.org.au/bulletins/

===========================================================================
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: https://auscert.org.au/gpg-key/

iQIVAwUBY+Gj1MkNZI30y1K9AQiAHxAAmX0H9Y7+JadQUJkllxE/XPFR9aed8iSM
wT4VSoDeNVFqVUgZ7uKaVI7zs9enEyQS0oXY51f7hrOvnLjff/N6ib3sugq22ZV+
1ro0g9ZZqqOYAEe1vWt0b4PKxCq9MCOdoe9ntso52jXgcmnrQwV+qOOKsvltRUGk
JDdynjHVq0I7xNBG0H70tummeh5rpFKpabQMwcX2lyw+F5rVoIl50+EqCqfsmPvR
46laqMyxbFjxBQPC3Vl4XxOtFCwpjbZu7emlRuURG079knaCurdNyj7mfylmDaMU
d7rUuTV6iW8zBW1lg78oU69M+SntNNn6GtlPLKYslFDwVS350jGiRNMwF6DvF/Ts
E/7DKuJaTeCj3nPOHPJ6xPD+TeFY7KaT6FMD3UIidfOCRh3/sF/Q0jJBV3qRAMWf
z+lgewiy/RKB1BXroBXBNasEFcyK7zu8/CNgLzI8F2b7ACp3CIDTjirdTd8C9pOc
31GsoEO91D+1EI2Y7pPkstSdiPjMR0Z0gGxQHynH6xn4Z/oswjtvff/6F/e/6+ou
LgnuYtqNqJhJ/fV6ezYxPRAGHhrERarQ+Emw6IGCKvHGzTFqvaIdTUv70N8fyVnM
AkLwqqJy1Sivo5rDJ8m/X+67mqBM7OlqHQ/Mm9fY/gzxQltPoHSMmcri7FkQS7wt
cUNzY/zSkX8=
=fYaH
-----END PGP SIGNATURE-----