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

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

                               ESB-2023.0680
                            git security update
                              7 February 2023

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

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

Product:           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:0609

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: git security update
Advisory ID:       RHSA-2023:0609-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2023:0609
Issue date:        2023-02-06
CVE Names:         CVE-2022-23521 CVE-2022-41903 
=====================================================================

1. Summary:

An update for git is now available for Red Hat Enterprise Linux 8.2
Advanced Update Support, Red Hat Enterprise Linux 8.2 Telecommunications
Update Service, and Red Hat Enterprise Linux 8.2 Update Services for SAP
Solutions.

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 Enterprise Linux AppStream AUS (v. 8.2) - aarch64, noarch, ppc64le, s390x, x86_64
Red Hat Enterprise Linux AppStream E4S (v. 8.2) - aarch64, noarch, ppc64le, s390x, x86_64
Red Hat Enterprise Linux AppStream TUS (v. 8.2) - aarch64, noarch, ppc64le, s390x, 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 Enterprise Linux AppStream AUS (v. 8.2):

Source:
git-2.18.4-3.el8_2.src.rpm

aarch64:
git-2.18.4-3.el8_2.aarch64.rpm
git-core-2.18.4-3.el8_2.aarch64.rpm
git-core-debuginfo-2.18.4-3.el8_2.aarch64.rpm
git-daemon-2.18.4-3.el8_2.aarch64.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.aarch64.rpm
git-debuginfo-2.18.4-3.el8_2.aarch64.rpm
git-debugsource-2.18.4-3.el8_2.aarch64.rpm
git-instaweb-2.18.4-3.el8_2.aarch64.rpm
git-subtree-2.18.4-3.el8_2.aarch64.rpm
git-svn-2.18.4-3.el8_2.aarch64.rpm
git-svn-debuginfo-2.18.4-3.el8_2.aarch64.rpm

noarch:
git-all-2.18.4-3.el8_2.noarch.rpm
git-core-doc-2.18.4-3.el8_2.noarch.rpm
git-email-2.18.4-3.el8_2.noarch.rpm
git-gui-2.18.4-3.el8_2.noarch.rpm
gitk-2.18.4-3.el8_2.noarch.rpm
gitweb-2.18.4-3.el8_2.noarch.rpm
perl-Git-2.18.4-3.el8_2.noarch.rpm
perl-Git-SVN-2.18.4-3.el8_2.noarch.rpm

ppc64le:
git-2.18.4-3.el8_2.ppc64le.rpm
git-core-2.18.4-3.el8_2.ppc64le.rpm
git-core-debuginfo-2.18.4-3.el8_2.ppc64le.rpm
git-daemon-2.18.4-3.el8_2.ppc64le.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.ppc64le.rpm
git-debuginfo-2.18.4-3.el8_2.ppc64le.rpm
git-debugsource-2.18.4-3.el8_2.ppc64le.rpm
git-instaweb-2.18.4-3.el8_2.ppc64le.rpm
git-subtree-2.18.4-3.el8_2.ppc64le.rpm
git-svn-2.18.4-3.el8_2.ppc64le.rpm
git-svn-debuginfo-2.18.4-3.el8_2.ppc64le.rpm

s390x:
git-2.18.4-3.el8_2.s390x.rpm
git-core-2.18.4-3.el8_2.s390x.rpm
git-core-debuginfo-2.18.4-3.el8_2.s390x.rpm
git-daemon-2.18.4-3.el8_2.s390x.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.s390x.rpm
git-debuginfo-2.18.4-3.el8_2.s390x.rpm
git-debugsource-2.18.4-3.el8_2.s390x.rpm
git-instaweb-2.18.4-3.el8_2.s390x.rpm
git-subtree-2.18.4-3.el8_2.s390x.rpm
git-svn-2.18.4-3.el8_2.s390x.rpm
git-svn-debuginfo-2.18.4-3.el8_2.s390x.rpm

x86_64:
git-2.18.4-3.el8_2.x86_64.rpm
git-core-2.18.4-3.el8_2.x86_64.rpm
git-core-debuginfo-2.18.4-3.el8_2.x86_64.rpm
git-daemon-2.18.4-3.el8_2.x86_64.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.x86_64.rpm
git-debuginfo-2.18.4-3.el8_2.x86_64.rpm
git-debugsource-2.18.4-3.el8_2.x86_64.rpm
git-instaweb-2.18.4-3.el8_2.x86_64.rpm
git-subtree-2.18.4-3.el8_2.x86_64.rpm
git-svn-2.18.4-3.el8_2.x86_64.rpm
git-svn-debuginfo-2.18.4-3.el8_2.x86_64.rpm

Red Hat Enterprise Linux AppStream E4S (v. 8.2):

Source:
git-2.18.4-3.el8_2.src.rpm

aarch64:
git-2.18.4-3.el8_2.aarch64.rpm
git-core-2.18.4-3.el8_2.aarch64.rpm
git-core-debuginfo-2.18.4-3.el8_2.aarch64.rpm
git-daemon-2.18.4-3.el8_2.aarch64.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.aarch64.rpm
git-debuginfo-2.18.4-3.el8_2.aarch64.rpm
git-debugsource-2.18.4-3.el8_2.aarch64.rpm
git-instaweb-2.18.4-3.el8_2.aarch64.rpm
git-subtree-2.18.4-3.el8_2.aarch64.rpm
git-svn-2.18.4-3.el8_2.aarch64.rpm
git-svn-debuginfo-2.18.4-3.el8_2.aarch64.rpm

noarch:
git-all-2.18.4-3.el8_2.noarch.rpm
git-core-doc-2.18.4-3.el8_2.noarch.rpm
git-email-2.18.4-3.el8_2.noarch.rpm
git-gui-2.18.4-3.el8_2.noarch.rpm
gitk-2.18.4-3.el8_2.noarch.rpm
gitweb-2.18.4-3.el8_2.noarch.rpm
perl-Git-2.18.4-3.el8_2.noarch.rpm
perl-Git-SVN-2.18.4-3.el8_2.noarch.rpm

ppc64le:
git-2.18.4-3.el8_2.ppc64le.rpm
git-core-2.18.4-3.el8_2.ppc64le.rpm
git-core-debuginfo-2.18.4-3.el8_2.ppc64le.rpm
git-daemon-2.18.4-3.el8_2.ppc64le.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.ppc64le.rpm
git-debuginfo-2.18.4-3.el8_2.ppc64le.rpm
git-debugsource-2.18.4-3.el8_2.ppc64le.rpm
git-instaweb-2.18.4-3.el8_2.ppc64le.rpm
git-subtree-2.18.4-3.el8_2.ppc64le.rpm
git-svn-2.18.4-3.el8_2.ppc64le.rpm
git-svn-debuginfo-2.18.4-3.el8_2.ppc64le.rpm

s390x:
git-2.18.4-3.el8_2.s390x.rpm
git-core-2.18.4-3.el8_2.s390x.rpm
git-core-debuginfo-2.18.4-3.el8_2.s390x.rpm
git-daemon-2.18.4-3.el8_2.s390x.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.s390x.rpm
git-debuginfo-2.18.4-3.el8_2.s390x.rpm
git-debugsource-2.18.4-3.el8_2.s390x.rpm
git-instaweb-2.18.4-3.el8_2.s390x.rpm
git-subtree-2.18.4-3.el8_2.s390x.rpm
git-svn-2.18.4-3.el8_2.s390x.rpm
git-svn-debuginfo-2.18.4-3.el8_2.s390x.rpm

x86_64:
git-2.18.4-3.el8_2.x86_64.rpm
git-core-2.18.4-3.el8_2.x86_64.rpm
git-core-debuginfo-2.18.4-3.el8_2.x86_64.rpm
git-daemon-2.18.4-3.el8_2.x86_64.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.x86_64.rpm
git-debuginfo-2.18.4-3.el8_2.x86_64.rpm
git-debugsource-2.18.4-3.el8_2.x86_64.rpm
git-instaweb-2.18.4-3.el8_2.x86_64.rpm
git-subtree-2.18.4-3.el8_2.x86_64.rpm
git-svn-2.18.4-3.el8_2.x86_64.rpm
git-svn-debuginfo-2.18.4-3.el8_2.x86_64.rpm

Red Hat Enterprise Linux AppStream TUS (v. 8.2):

Source:
git-2.18.4-3.el8_2.src.rpm

aarch64:
git-2.18.4-3.el8_2.aarch64.rpm
git-core-2.18.4-3.el8_2.aarch64.rpm
git-core-debuginfo-2.18.4-3.el8_2.aarch64.rpm
git-daemon-2.18.4-3.el8_2.aarch64.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.aarch64.rpm
git-debuginfo-2.18.4-3.el8_2.aarch64.rpm
git-debugsource-2.18.4-3.el8_2.aarch64.rpm
git-instaweb-2.18.4-3.el8_2.aarch64.rpm
git-subtree-2.18.4-3.el8_2.aarch64.rpm
git-svn-2.18.4-3.el8_2.aarch64.rpm
git-svn-debuginfo-2.18.4-3.el8_2.aarch64.rpm

noarch:
git-all-2.18.4-3.el8_2.noarch.rpm
git-core-doc-2.18.4-3.el8_2.noarch.rpm
git-email-2.18.4-3.el8_2.noarch.rpm
git-gui-2.18.4-3.el8_2.noarch.rpm
gitk-2.18.4-3.el8_2.noarch.rpm
gitweb-2.18.4-3.el8_2.noarch.rpm
perl-Git-2.18.4-3.el8_2.noarch.rpm
perl-Git-SVN-2.18.4-3.el8_2.noarch.rpm

ppc64le:
git-2.18.4-3.el8_2.ppc64le.rpm
git-core-2.18.4-3.el8_2.ppc64le.rpm
git-core-debuginfo-2.18.4-3.el8_2.ppc64le.rpm
git-daemon-2.18.4-3.el8_2.ppc64le.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.ppc64le.rpm
git-debuginfo-2.18.4-3.el8_2.ppc64le.rpm
git-debugsource-2.18.4-3.el8_2.ppc64le.rpm
git-instaweb-2.18.4-3.el8_2.ppc64le.rpm
git-subtree-2.18.4-3.el8_2.ppc64le.rpm
git-svn-2.18.4-3.el8_2.ppc64le.rpm
git-svn-debuginfo-2.18.4-3.el8_2.ppc64le.rpm

s390x:
git-2.18.4-3.el8_2.s390x.rpm
git-core-2.18.4-3.el8_2.s390x.rpm
git-core-debuginfo-2.18.4-3.el8_2.s390x.rpm
git-daemon-2.18.4-3.el8_2.s390x.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.s390x.rpm
git-debuginfo-2.18.4-3.el8_2.s390x.rpm
git-debugsource-2.18.4-3.el8_2.s390x.rpm
git-instaweb-2.18.4-3.el8_2.s390x.rpm
git-subtree-2.18.4-3.el8_2.s390x.rpm
git-svn-2.18.4-3.el8_2.s390x.rpm
git-svn-debuginfo-2.18.4-3.el8_2.s390x.rpm

x86_64:
git-2.18.4-3.el8_2.x86_64.rpm
git-core-2.18.4-3.el8_2.x86_64.rpm
git-core-debuginfo-2.18.4-3.el8_2.x86_64.rpm
git-daemon-2.18.4-3.el8_2.x86_64.rpm
git-daemon-debuginfo-2.18.4-3.el8_2.x86_64.rpm
git-debuginfo-2.18.4-3.el8_2.x86_64.rpm
git-debugsource-2.18.4-3.el8_2.x86_64.rpm
git-instaweb-2.18.4-3.el8_2.x86_64.rpm
git-subtree-2.18.4-3.el8_2.x86_64.rpm
git-svn-2.18.4-3.el8_2.x86_64.rpm
git-svn-debuginfo-2.18.4-3.el8_2.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+FwctzjgjWX9erEAQiurA/6A5iEIo+6/GmSO3kLLn4VmrCQ8wS0RBbR
DG5dVqSk9kXny132ZJuONfjG0zCN/Iq0gbKgxlt1nEgO5VcJcYa+zHyyCV+Hg09I
tJ+WjfXzQ1dlKZis4G7gfKCeyTUH08EWbNoMZaEbN5WD2hAV0i1kF4l6DOhbpGSy
tVbWCIzn+jg2S+WPKjqzsEXdDn3txg6Lgt9VPHG1nqMKAcTJil1xF0SCnC5xlt82
k/m0lvuEEq8uHEBYUodeAO/shDN2bglNkLM7kj+OQhlB3XBpabLOA7KMPoEcfyWr
ec0B+sxhuqxLMtzmlDeB93FHqzprdIvHfVBE6+8qmqZfOZF75teai1br8tYa2zXG
L2HpmxXmowq3WCSkF/qnU32fw8wTVnVs4LYK2DiGCTlZKka1nTuDa3sWfqqHmh5p
MGHxCQFH+PBVCFebJQFCvJcJf0pszpX2p9MeQ2mB3py7IxStkDHopmBQs08fDm/l
LJtS1TkKXYelI+DwoaZ+byTDtkWk+U5j3eRg/d02HCK2ch/wENTkB+r1/QCk0Rh2
kRIVgbxq9dTBreJp6TisE3s5jyHws5UbaWBTu516dkTo+7WXNweeeYhtw6j4zV2T
xhATiUuzlzKEHHZkK0G5Mve/plLHfccCDN6auREeE+ZwcSsE3iP9TMA5y3cWTva7
lweZG5cojxQ=
=++TE
- -----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+GkkskNZI30y1K9AQhkgxAAvFAn36LiU70SSQProh3fCAfALxvxv93C
exFwpMBrPA6gprSrB27TrLQ0O99fasOYKEukS+3nHhcU1OucLUYA4h4K4u3t8h5N
C2WLjcZl9F+eNwxkOHu7hAWEVt5Z4mV1vgE+tvbMmLMXTqjfHsCoeGIx6+ZNyH69
JuGzXlJJCxD1uM93P7CPdZaMQQRigXYLAQEs3EJtBWbOt+H8qLgu69mljTZ6OKRF
hRyQ215tbMhKstNkHHrvAXVaP7QyG/c9h48WBnoZl/jt5rhmKuDU7fm/AoNH5C25
6DekmsYRl7UVUMHuraBhP2PlHLiRhIJrHMZ6pFQX8BhGBND4r5qmbI72f6/KaYcR
VKLCdAqFLlyMBVfcK0GpsxPIJw8qrVCepjB/p2I3o88UoaL1y9o6WSlNE4PU97gA
jPIZjJ00KCBNCyuNXPUxzb1dbXOdSy+6wWVwd97k1lrjnesD4HK2Qjsyknzxe2kV
IDjYuhdais7PyJq/FKpPGnmlQH/kz3nNP33aLRkftQoiBSRzbSG/M8A7F4Vorg4U
cu+0/1iZHJAfSsFTrxLPe6VSU8gPgcshJg/PW2k8Up2fl1y28ogac1A8fwEMxHAU
k8XEHhvLRSQ+Uz6mWjBOoHkTf5QcRt6Mns/ex0pJ1qUj/vpKk+5RfCwbfrWsxVS3
Lr1CHLKripM=
=krqF
-----END PGP SIGNATURE-----