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

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

                               ESB-2024.0555
                            git security update
                              29 January 2024

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

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

Product:           git
Publisher:         Red Hat
Operating System:  Red Hat
Resolution:        Patch/Upgrade
CVE Names:         CVE-2023-23946 CVE-2023-22490 CVE-2022-39260
                   CVE-2022-39253 CVE-2022-29187 CVE-2022-24765

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2024:0407

Comment: CVSS (Max):  8.8 CVE-2022-39260 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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:R/S:U/C:H/I:H/A:H

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

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

Synopsis:          Moderate: git security update
Advisory ID:       RHSA-2024:0407
Product:           Red Hat Enterprise Linux AppStream EUS (v.8.6)
Advisory URL:      https://access.redhat.com/errata/RHSA-2024:0407
Issue date:        2024-01-25
CVE Names:         CVE-2022-24765 CVE-2022-29187 CVE-2022-39253 CVE-2022-39260
                   CVE-2023-22490 CVE-2023-23946
=====================================================================

1. Summary:

An update for git is now available for Red Hat Enterprise Linux 8.6 Extended
Update Support.

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.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AppStream EUS (v.8.6) - aarch64, ppc64le, x86_64,
s390x, noarch

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: On multi-user machines Git users might find themselves unexpectedly in a
Git worktree (CVE-2022-24765)

* git: Bypass of safe.directory protections (CVE-2022-29187)

* git: exposure of sensitive information to a malicious actor (CVE-2022-39253)

* git: git shell function that splits command arguments can lead to arbitrary
heap writes. (CVE-2022-39260)

* git: data exfiltration with maliciously crafted repository (CVE-2023-22490)

* git: git apply: a path outside the working tree can be overwritten with
crafted input (CVE-2023-23946)

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

2073414 - CVE-2022-24765 - git: On multi-user machines Git users might find
themselves unexpectedly in a Git worktree
2107439 - CVE-2022-29187 - git: Bypass of safe.directory protections 
2137422 - CVE-2022-39253 - git: exposure of sensitive information to a malicious
actor
2137423 - CVE-2022-39260 - git: git shell function that splits command arguments
can lead to arbitrary heap writes.
2168160 - CVE-2023-22490 - git: data exfiltration with maliciously crafted
repository
2168161 - CVE-2023-23946 - git: git apply: a path outside the working tree can
be overwritten with crafted input

6. Package List:

Red Hat Enterprise Linux AppStream EUS (v.8.6)

aarch64:
git-0:2.31.8-1.el8_6.aarch64.rpm
git-core-0:2.31.8-1.el8_6.aarch64.rpm
git-core-debuginfo-0:2.31.8-1.el8_6.aarch64.rpm
git-credential-libsecret-0:2.31.8-1.el8_6.aarch64.rpm
git-credential-libsecret-debuginfo-0:2.31.8-1.el8_6.aarch64.rpm
git-daemon-0:2.31.8-1.el8_6.aarch64.rpm
git-daemon-debuginfo-0:2.31.8-1.el8_6.aarch64.rpm
git-debuginfo-0:2.31.8-1.el8_6.aarch64.rpm
git-debugsource-0:2.31.8-1.el8_6.aarch64.rpm
git-subtree-0:2.31.8-1.el8_6.aarch64.rpm

ppc64le:
git-0:2.31.8-1.el8_6.ppc64le.rpm
git-core-0:2.31.8-1.el8_6.ppc64le.rpm
git-core-debuginfo-0:2.31.8-1.el8_6.ppc64le.rpm
git-credential-libsecret-0:2.31.8-1.el8_6.ppc64le.rpm
git-credential-libsecret-debuginfo-0:2.31.8-1.el8_6.ppc64le.rpm
git-daemon-0:2.31.8-1.el8_6.ppc64le.rpm
git-daemon-debuginfo-0:2.31.8-1.el8_6.ppc64le.rpm
git-debuginfo-0:2.31.8-1.el8_6.ppc64le.rpm
git-debugsource-0:2.31.8-1.el8_6.ppc64le.rpm
git-subtree-0:2.31.8-1.el8_6.ppc64le.rpm

s390x:
git-0:2.31.8-1.el8_6.s390x.rpm
git-core-0:2.31.8-1.el8_6.s390x.rpm
git-core-debuginfo-0:2.31.8-1.el8_6.s390x.rpm
git-credential-libsecret-0:2.31.8-1.el8_6.s390x.rpm
git-credential-libsecret-debuginfo-0:2.31.8-1.el8_6.s390x.rpm
git-daemon-0:2.31.8-1.el8_6.s390x.rpm
git-daemon-debuginfo-0:2.31.8-1.el8_6.s390x.rpm
git-debuginfo-0:2.31.8-1.el8_6.s390x.rpm
git-debugsource-0:2.31.8-1.el8_6.s390x.rpm
git-subtree-0:2.31.8-1.el8_6.s390x.rpm

Source:
git-0:2.31.8-1.el8_6.src.rpm

x86_64:
git-0:2.31.8-1.el8_6.x86_64.rpm
git-core-0:2.31.8-1.el8_6.x86_64.rpm
git-core-debuginfo-0:2.31.8-1.el8_6.x86_64.rpm
git-credential-libsecret-0:2.31.8-1.el8_6.x86_64.rpm
git-credential-libsecret-debuginfo-0:2.31.8-1.el8_6.x86_64.rpm
git-daemon-0:2.31.8-1.el8_6.x86_64.rpm
git-daemon-debuginfo-0:2.31.8-1.el8_6.x86_64.rpm
git-debuginfo-0:2.31.8-1.el8_6.x86_64.rpm
git-debugsource-0:2.31.8-1.el8_6.x86_64.rpm
git-subtree-0:2.31.8-1.el8_6.x86_64.rpm

noarch:
git-all-0:2.31.8-1.el8_6.noarch.rpm
git-core-doc-0:2.31.8-1.el8_6.noarch.rpm
git-email-0:2.31.8-1.el8_6.noarch.rpm
git-gui-0:2.31.8-1.el8_6.noarch.rpm
git-instaweb-0:2.31.8-1.el8_6.noarch.rpm
git-svn-0:2.31.8-1.el8_6.noarch.rpm
gitk-0:2.31.8-1.el8_6.noarch.rpm
gitweb-0:2.31.8-1.el8_6.noarch.rpm
perl-Git-0:2.31.8-1.el8_6.noarch.rpm
perl-Git-SVN-0:2.31.8-1.el8_6.noarch.rpm

7. References:

https://access.redhat.com/security/cve/CVE-2022-24765
https://access.redhat.com/security/cve/CVE-2022-29187
https://access.redhat.com/security/cve/CVE-2022-39253
https://access.redhat.com/security/cve/CVE-2022-39260
https://access.redhat.com/security/cve/CVE-2023-22490
https://access.redhat.com/security/cve/CVE-2023-23946
https://access.redhat.com/security/updates/classification/#moderate

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

iQIVAwUBZbcRaskNZI30y1K9AQhBXxAAm4K4igT4tSIKMxbkkfAfdE4j922eyMwh
AsKwHTDHZhiy8V5dVD3qGiTQSSq9cA3WaOVPW/KzTdYMjWvgC31Z/6Qxv7tqSET8
+fMedxPJFJDcN3jJhxb/PAkoPxsm1RDn5YwP+S9wV2aRyQofWHrAblk7po8iVszI
0XvdaA83mKy6oigbmJXq/x/VEM8K31EY6lhjJpqpMsV5FsYWQiJqCUWjF99JPO1u
nYYrN5RMUVEzPrGc/YWv6q/4BC8nzWXLykgyfBeGtAiHo8+V9PdQREhcUFt1tEFb
XvZsaua0rnqdMXp8Xml3u4DnghHwcnfa4U3bukcuV1qSYaC7Fixo2EcKbM7hnKNo
YxleZ3X67W8uufLAIn41gSox60GyPVtfXO3ElxgQNJ/lH3FtoqLhCYZpLepkJKKw
mIHPUx1+Ta6NIl4VomLOGDdrnHTbqp4ekMBXt7OHcAd1I8whjdWj1Dshlc35OLZt
GVl9/TvYSI098q176CeeOL5EnjLSWtK1A2doMfXPBL5z+WuoWZScOpMmDH8ImMPt
1bNL3C1StIrg5exYjhypi7daipP9ZtG+IdB7i2kxGQnFCUealANPURMRzaHcpjZF
kMcqjjts9wTgqZgx4Avm2n5Ab0fuNorsHK/pZw35PHazAXAMeSHBuopg+F0cEaqM
sAKEwmeaFAE=
=12X9
-----END PGP SIGNATURE-----