SUSE Security Update: Security update for git
______________________________________________________________________________

Announcement ID:    SUSE-SU-2023:0418-1
Rating:             important
References:         #1204455 #1204456 #1208027 #1208028 
Cross-References:   CVE-2022-39253 CVE-2022-39260 CVE-2023-22490
                    CVE-2023-23946
CVSS scores:
                    CVE-2022-39253 (NVD) : 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
                    CVE-2022-39253 (SUSE): 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
                    CVE-2022-39260 (NVD) : 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
                    CVE-2022-39260 (SUSE): 6.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
                    CVE-2023-22490 (NVD) : 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
                    CVE-2023-22490 (SUSE): 4.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
                    CVE-2023-23946 (NVD) : 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
                    CVE-2023-23946 (SUSE): 5 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N

Affected Products:
                    SUSE CaaS Platform 4.0
                    SUSE Enterprise Storage 7
                    SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS
                    SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS
                    SUSE Linux Enterprise Server 15-SP1-LTSS
                    SUSE Linux Enterprise Server 15-SP2-LTSS
                    SUSE Linux Enterprise Server for SAP 15-SP1
                    SUSE Linux Enterprise Server for SAP 15-SP2
                    openSUSE Leap 15.4
______________________________________________________________________________

   An update that fixes four vulnerabilities is now available.

Description:

   This update for git fixes the following issues:

     - CVE-2023-22490: Fixed incorrectly usable local clone optimization even
       when using a non-local transport (bsc#1208027).
     - CVE-2023-23946: Fixed issue where a path outside the working tree can
       be overwritten as the user who is running "git apply" (bsc#1208028).
     - CVE-2022-39260: Fixed overflow in `split_cmdline()`, leading to
       arbitrary heap writes and remote code execution (bsc#1204456).
     - CVE-2022-39253: Fixed dereference issue with symbolic links via the
       `--local` clone mechanism (bsc#1204455).


Patch Instructions:

   To install this SUSE Security Update use the SUSE recommended installation methods
   like YaST online_update or "zypper patch".

   Alternatively you can run the command listed for your product:

   - openSUSE Leap 15.4:

      zypper in -t patch openSUSE-SLE-15.4-2023-418=1

   - SUSE Linux Enterprise Server for SAP 15-SP2:

      zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP2-2023-418=1

   - SUSE Linux Enterprise Server for SAP 15-SP1:

      zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP1-2023-418=1

   - SUSE Linux Enterprise Server 15-SP2-LTSS:

      zypper in -t patch SUSE-SLE-Product-SLES-15-SP2-LTSS-2023-418=1

   - SUSE Linux Enterprise Server 15-SP1-LTSS:

      zypper in -t patch SUSE-SLE-Product-SLES-15-SP1-LTSS-2023-418=1

   - SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS:

      zypper in -t patch SUSE-SLE-Product-HPC-15-SP2-LTSS-2023-418=1

   - SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS:

      zypper in -t patch SUSE-SLE-Product-HPC-15-SP1-LTSS-2023-418=1

   - SUSE Enterprise Storage 7:

      zypper in -t patch SUSE-Storage-7-2023-418=1

   - SUSE CaaS Platform 4.0:

      To install this update, use the SUSE CaaS Platform 'skuba' tool. It
      will inform you if it detects new updates and let you then trigger
      updating of the complete cluster in a controlled way.



Package List:

   - openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64):

      git-svn-debuginfo-2.26.2-150000.47.1

   - SUSE Linux Enterprise Server for SAP 15-SP2 (ppc64le x86_64):

      git-2.26.2-150000.47.1
      git-arch-2.26.2-150000.47.1
      git-core-2.26.2-150000.47.1
      git-core-debuginfo-2.26.2-150000.47.1
      git-cvs-2.26.2-150000.47.1
      git-daemon-2.26.2-150000.47.1
      git-daemon-debuginfo-2.26.2-150000.47.1
      git-debuginfo-2.26.2-150000.47.1
      git-debugsource-2.26.2-150000.47.1
      git-email-2.26.2-150000.47.1
      git-gui-2.26.2-150000.47.1
      git-svn-2.26.2-150000.47.1
      git-svn-debuginfo-2.26.2-150000.47.1
      git-web-2.26.2-150000.47.1
      gitk-2.26.2-150000.47.1

   - SUSE Linux Enterprise Server for SAP 15-SP2 (noarch):

      git-doc-2.26.2-150000.47.1

   - SUSE Linux Enterprise Server for SAP 15-SP1 (ppc64le x86_64):

      git-2.26.2-150000.47.1
      git-arch-2.26.2-150000.47.1
      git-core-2.26.2-150000.47.1
      git-core-debuginfo-2.26.2-150000.47.1
      git-cvs-2.26.2-150000.47.1
      git-daemon-2.26.2-150000.47.1
      git-daemon-debuginfo-2.26.2-150000.47.1
      git-debuginfo-2.26.2-150000.47.1
      git-debugsource-2.26.2-150000.47.1
      git-email-2.26.2-150000.47.1
      git-gui-2.26.2-150000.47.1
      git-svn-2.26.2-150000.47.1
      git-svn-debuginfo-2.26.2-150000.47.1
      git-web-2.26.2-150000.47.1
      gitk-2.26.2-150000.47.1

   - SUSE Linux Enterprise Server for SAP 15-SP1 (noarch):

      git-doc-2.26.2-150000.47.1

   - SUSE Linux Enterprise Server 15-SP2-LTSS (aarch64 ppc64le s390x x86_64):

      git-2.26.2-150000.47.1
      git-arch-2.26.2-150000.47.1
      git-core-2.26.2-150000.47.1
      git-core-debuginfo-2.26.2-150000.47.1
      git-cvs-2.26.2-150000.47.1
      git-daemon-2.26.2-150000.47.1
      git-daemon-debuginfo-2.26.2-150000.47.1
      git-debuginfo-2.26.2-150000.47.1
      git-debugsource-2.26.2-150000.47.1
      git-email-2.26.2-150000.47.1
      git-gui-2.26.2-150000.47.1
      git-svn-2.26.2-150000.47.1
      git-svn-debuginfo-2.26.2-150000.47.1
      git-web-2.26.2-150000.47.1
      gitk-2.26.2-150000.47.1

   - SUSE Linux Enterprise Server 15-SP2-LTSS (noarch):

      git-doc-2.26.2-150000.47.1

   - SUSE Linux Enterprise Server 15-SP1-LTSS (aarch64 ppc64le s390x x86_64):

      git-2.26.2-150000.47.1
      git-arch-2.26.2-150000.47.1
      git-core-2.26.2-150000.47.1
      git-core-debuginfo-2.26.2-150000.47.1
      git-cvs-2.26.2-150000.47.1
      git-daemon-2.26.2-150000.47.1
      git-daemon-debuginfo-2.26.2-150000.47.1
      git-debuginfo-2.26.2-150000.47.1
      git-debugsource-2.26.2-150000.47.1
      git-email-2.26.2-150000.47.1
      git-gui-2.26.2-150000.47.1
      git-svn-2.26.2-150000.47.1
      git-svn-debuginfo-2.26.2-150000.47.1
      git-web-2.26.2-150000.47.1
      gitk-2.26.2-150000.47.1

   - SUSE Linux Enterprise Server 15-SP1-LTSS (noarch):

      git-doc-2.26.2-150000.47.1

   - SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (aarch64 x86_64):

      git-2.26.2-150000.47.1
      git-arch-2.26.2-150000.47.1
      git-core-2.26.2-150000.47.1
      git-core-debuginfo-2.26.2-150000.47.1
      git-cvs-2.26.2-150000.47.1
      git-daemon-2.26.2-150000.47.1
      git-daemon-debuginfo-2.26.2-150000.47.1
      git-debuginfo-2.26.2-150000.47.1
      git-debugsource-2.26.2-150000.47.1
      git-email-2.26.2-150000.47.1
      git-gui-2.26.2-150000.47.1
      git-svn-2.26.2-150000.47.1
      git-svn-debuginfo-2.26.2-150000.47.1
      git-web-2.26.2-150000.47.1
      gitk-2.26.2-150000.47.1

   - SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (noarch):

      git-doc-2.26.2-150000.47.1

   - SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (aarch64 x86_64):

      git-2.26.2-150000.47.1
      git-arch-2.26.2-150000.47.1
      git-core-2.26.2-150000.47.1
      git-core-debuginfo-2.26.2-150000.47.1
      git-cvs-2.26.2-150000.47.1
      git-daemon-2.26.2-150000.47.1
      git-daemon-debuginfo-2.26.2-150000.47.1
      git-debuginfo-2.26.2-150000.47.1
      git-debugsource-2.26.2-150000.47.1
      git-email-2.26.2-150000.47.1
      git-gui-2.26.2-150000.47.1
      git-svn-2.26.2-150000.47.1
      git-svn-debuginfo-2.26.2-150000.47.1
      git-web-2.26.2-150000.47.1
      gitk-2.26.2-150000.47.1

   - SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (noarch):

      git-doc-2.26.2-150000.47.1

   - SUSE Enterprise Storage 7 (aarch64 x86_64):

      git-2.26.2-150000.47.1
      git-arch-2.26.2-150000.47.1
      git-core-2.26.2-150000.47.1
      git-core-debuginfo-2.26.2-150000.47.1
      git-cvs-2.26.2-150000.47.1
      git-daemon-2.26.2-150000.47.1
      git-daemon-debuginfo-2.26.2-150000.47.1
      git-debuginfo-2.26.2-150000.47.1
      git-debugsource-2.26.2-150000.47.1
      git-email-2.26.2-150000.47.1
      git-gui-2.26.2-150000.47.1
      git-svn-2.26.2-150000.47.1
      git-svn-debuginfo-2.26.2-150000.47.1
      git-web-2.26.2-150000.47.1
      gitk-2.26.2-150000.47.1

   - SUSE Enterprise Storage 7 (noarch):

      git-doc-2.26.2-150000.47.1

   - SUSE CaaS Platform 4.0 (x86_64):

      git-2.26.2-150000.47.1
      git-arch-2.26.2-150000.47.1
      git-core-2.26.2-150000.47.1
      git-core-debuginfo-2.26.2-150000.47.1
      git-cvs-2.26.2-150000.47.1
      git-daemon-2.26.2-150000.47.1
      git-daemon-debuginfo-2.26.2-150000.47.1
      git-debuginfo-2.26.2-150000.47.1
      git-debugsource-2.26.2-150000.47.1
      git-email-2.26.2-150000.47.1
      git-gui-2.26.2-150000.47.1
      git-svn-2.26.2-150000.47.1
      git-svn-debuginfo-2.26.2-150000.47.1
      git-web-2.26.2-150000.47.1
      gitk-2.26.2-150000.47.1

   - SUSE CaaS Platform 4.0 (noarch):

      git-doc-2.26.2-150000.47.1


References:

   https://www.suse.com/security/cve/CVE-2022-39253.html
   https://www.suse.com/security/cve/CVE-2022-39260.html
   https://www.suse.com/security/cve/CVE-2023-22490.html
   https://www.suse.com/security/cve/CVE-2023-23946.html
   https://bugzilla.suse.com/1204455
   https://bugzilla.suse.com/1204456
   https://bugzilla.suse.com/1208027
   https://bugzilla.suse.com/1208028

openSUSE: 2023:0418-1: important: git Security Advisory Update

February 15, 2023
An update that fixes four vulnerabilities is now available.

Description

This update for git fixes the following issues: - CVE-2023-22490: Fixed incorrectly usable local clone optimization even when using a non-local transport (bsc#1208027). - CVE-2023-23946: Fixed issue where a path outside the working tree can be overwritten as the user who is running "git apply" (bsc#1208028). - CVE-2022-39260: Fixed overflow in `split_cmdline()`, leading to arbitrary heap writes and remote code execution (bsc#1204456). - CVE-2022-39253: Fixed dereference issue with symbolic links via the `--local` clone mechanism (bsc#1204455).

 

Patch

Patch Instructions: To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch". Alternatively you can run the command listed for your product: - openSUSE Leap 15.4: zypper in -t patch openSUSE-SLE-15.4-2023-418=1 - SUSE Linux Enterprise Server for SAP 15-SP2: zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP2-2023-418=1 - SUSE Linux Enterprise Server for SAP 15-SP1: zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP1-2023-418=1 - SUSE Linux Enterprise Server 15-SP2-LTSS: zypper in -t patch SUSE-SLE-Product-SLES-15-SP2-LTSS-2023-418=1 - SUSE Linux Enterprise Server 15-SP1-LTSS: zypper in -t patch SUSE-SLE-Product-SLES-15-SP1-LTSS-2023-418=1 - SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS: zypper in -t patch SUSE-SLE-Product-HPC-15-SP2-LTSS-2023-418=1 - SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS: zypper in -t patch SUSE-SLE-Product-HPC-15-SP1-LTSS-2023-418=1 - SUSE Enterprise Storage 7: zypper in -t patch SUSE-Storage-7-2023-418=1 - SUSE CaaS Platform 4.0: To install this update, use the SUSE CaaS Platform 'skuba' tool. It will inform you if it detects new updates and let you then trigger updating of the complete cluster in a controlled way.


Package List

- openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64): git-svn-debuginfo-2.26.2-150000.47.1 - SUSE Linux Enterprise Server for SAP 15-SP2 (ppc64le x86_64): git-2.26.2-150000.47.1 git-arch-2.26.2-150000.47.1 git-core-2.26.2-150000.47.1 git-core-debuginfo-2.26.2-150000.47.1 git-cvs-2.26.2-150000.47.1 git-daemon-2.26.2-150000.47.1 git-daemon-debuginfo-2.26.2-150000.47.1 git-debuginfo-2.26.2-150000.47.1 git-debugsource-2.26.2-150000.47.1 git-email-2.26.2-150000.47.1 git-gui-2.26.2-150000.47.1 git-svn-2.26.2-150000.47.1 git-svn-debuginfo-2.26.2-150000.47.1 git-web-2.26.2-150000.47.1 gitk-2.26.2-150000.47.1 - SUSE Linux Enterprise Server for SAP 15-SP2 (noarch): git-doc-2.26.2-150000.47.1 - SUSE Linux Enterprise Server for SAP 15-SP1 (ppc64le x86_64): git-2.26.2-150000.47.1 git-arch-2.26.2-150000.47.1 git-core-2.26.2-150000.47.1 git-core-debuginfo-2.26.2-150000.47.1 git-cvs-2.26.2-150000.47.1 git-daemon-2.26.2-150000.47.1 git-daemon-debuginfo-2.26.2-150000.47.1 git-debuginfo-2.26.2-150000.47.1 git-debugsource-2.26.2-150000.47.1 git-email-2.26.2-150000.47.1 git-gui-2.26.2-150000.47.1 git-svn-2.26.2-150000.47.1 git-svn-debuginfo-2.26.2-150000.47.1 git-web-2.26.2-150000.47.1 gitk-2.26.2-150000.47.1 - SUSE Linux Enterprise Server for SAP 15-SP1 (noarch): git-doc-2.26.2-150000.47.1 - SUSE Linux Enterprise Server 15-SP2-LTSS (aarch64 ppc64le s390x x86_64): git-2.26.2-150000.47.1 git-arch-2.26.2-150000.47.1 git-core-2.26.2-150000.47.1 git-core-debuginfo-2.26.2-150000.47.1 git-cvs-2.26.2-150000.47.1 git-daemon-2.26.2-150000.47.1 git-daemon-debuginfo-2.26.2-150000.47.1 git-debuginfo-2.26.2-150000.47.1 git-debugsource-2.26.2-150000.47.1 git-email-2.26.2-150000.47.1 git-gui-2.26.2-150000.47.1 git-svn-2.26.2-150000.47.1 git-svn-debuginfo-2.26.2-150000.47.1 git-web-2.26.2-150000.47.1 gitk-2.26.2-150000.47.1 - SUSE Linux Enterprise Server 15-SP2-LTSS (noarch): git-doc-2.26.2-150000.47.1 - SUSE Linux Enterprise Server 15-SP1-LTSS (aarch64 ppc64le s390x x86_64): git-2.26.2-150000.47.1 git-arch-2.26.2-150000.47.1 git-core-2.26.2-150000.47.1 git-core-debuginfo-2.26.2-150000.47.1 git-cvs-2.26.2-150000.47.1 git-daemon-2.26.2-150000.47.1 git-daemon-debuginfo-2.26.2-150000.47.1 git-debuginfo-2.26.2-150000.47.1 git-debugsource-2.26.2-150000.47.1 git-email-2.26.2-150000.47.1 git-gui-2.26.2-150000.47.1 git-svn-2.26.2-150000.47.1 git-svn-debuginfo-2.26.2-150000.47.1 git-web-2.26.2-150000.47.1 gitk-2.26.2-150000.47.1 - SUSE Linux Enterprise Server 15-SP1-LTSS (noarch): git-doc-2.26.2-150000.47.1 - SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (aarch64 x86_64): git-2.26.2-150000.47.1 git-arch-2.26.2-150000.47.1 git-core-2.26.2-150000.47.1 git-core-debuginfo-2.26.2-150000.47.1 git-cvs-2.26.2-150000.47.1 git-daemon-2.26.2-150000.47.1 git-daemon-debuginfo-2.26.2-150000.47.1 git-debuginfo-2.26.2-150000.47.1 git-debugsource-2.26.2-150000.47.1 git-email-2.26.2-150000.47.1 git-gui-2.26.2-150000.47.1 git-svn-2.26.2-150000.47.1 git-svn-debuginfo-2.26.2-150000.47.1 git-web-2.26.2-150000.47.1 gitk-2.26.2-150000.47.1 - SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (noarch): git-doc-2.26.2-150000.47.1 - SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (aarch64 x86_64): git-2.26.2-150000.47.1 git-arch-2.26.2-150000.47.1 git-core-2.26.2-150000.47.1 git-core-debuginfo-2.26.2-150000.47.1 git-cvs-2.26.2-150000.47.1 git-daemon-2.26.2-150000.47.1 git-daemon-debuginfo-2.26.2-150000.47.1 git-debuginfo-2.26.2-150000.47.1 git-debugsource-2.26.2-150000.47.1 git-email-2.26.2-150000.47.1 git-gui-2.26.2-150000.47.1 git-svn-2.26.2-150000.47.1 git-svn-debuginfo-2.26.2-150000.47.1 git-web-2.26.2-150000.47.1 gitk-2.26.2-150000.47.1 - SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (noarch): git-doc-2.26.2-150000.47.1 - SUSE Enterprise Storage 7 (aarch64 x86_64): git-2.26.2-150000.47.1 git-arch-2.26.2-150000.47.1 git-core-2.26.2-150000.47.1 git-core-debuginfo-2.26.2-150000.47.1 git-cvs-2.26.2-150000.47.1 git-daemon-2.26.2-150000.47.1 git-daemon-debuginfo-2.26.2-150000.47.1 git-debuginfo-2.26.2-150000.47.1 git-debugsource-2.26.2-150000.47.1 git-email-2.26.2-150000.47.1 git-gui-2.26.2-150000.47.1 git-svn-2.26.2-150000.47.1 git-svn-debuginfo-2.26.2-150000.47.1 git-web-2.26.2-150000.47.1 gitk-2.26.2-150000.47.1 - SUSE Enterprise Storage 7 (noarch): git-doc-2.26.2-150000.47.1 - SUSE CaaS Platform 4.0 (x86_64): git-2.26.2-150000.47.1 git-arch-2.26.2-150000.47.1 git-core-2.26.2-150000.47.1 git-core-debuginfo-2.26.2-150000.47.1 git-cvs-2.26.2-150000.47.1 git-daemon-2.26.2-150000.47.1 git-daemon-debuginfo-2.26.2-150000.47.1 git-debuginfo-2.26.2-150000.47.1 git-debugsource-2.26.2-150000.47.1 git-email-2.26.2-150000.47.1 git-gui-2.26.2-150000.47.1 git-svn-2.26.2-150000.47.1 git-svn-debuginfo-2.26.2-150000.47.1 git-web-2.26.2-150000.47.1 gitk-2.26.2-150000.47.1 - SUSE CaaS Platform 4.0 (noarch): git-doc-2.26.2-150000.47.1


References

https://www.suse.com/security/cve/CVE-2022-39253.html https://www.suse.com/security/cve/CVE-2022-39260.html https://www.suse.com/security/cve/CVE-2023-22490.html https://www.suse.com/security/cve/CVE-2023-23946.html https://bugzilla.suse.com/1204455 https://bugzilla.suse.com/1204456 https://bugzilla.suse.com/1208027 https://bugzilla.suse.com/1208028


Severity
Announcement ID: SUSE-SU-2023:0418-1
Rating: important
Affected Products: SUSE CaaS Platform 4.0 SUSE Enterprise Storage 7 SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS SUSE Linux Enterprise Server 15-SP1-LTSS SUSE Linux Enterprise Server 15-SP2-LTSS SUSE Linux Enterprise Server for SAP 15-SP1 SUSE Linux Enterprise Server for SAP 15-SP2 openSUSE Leap 15.4

Related News