SUSE Security Update: Security update for libarchive
______________________________________________________________________________

Announcement ID:    SUSE-SU-2022:1930-1
Rating:             moderate
References:         #1022528 #1188572 #1189528 #1197634 
Cross-References:   CVE-2017-5601 CVE-2021-36976 CVE-2022-26280
                   
CVSS scores:
                    CVE-2017-5601 (NVD) : 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
                    CVE-2017-5601 (SUSE): 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
                    CVE-2021-36976 (NVD) : 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
                    CVE-2021-36976 (SUSE): 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
                    CVE-2022-26280 (NVD) : 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
                    CVE-2022-26280 (SUSE): 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected Products:
                    SUSE Linux Enterprise Desktop 15-SP4
                    SUSE Linux Enterprise High Performance Computing 15-SP4
                    SUSE Linux Enterprise Module for Basesystem 15-SP4
                    SUSE Linux Enterprise Module for Development Tools 15-SP4
                    SUSE Linux Enterprise Server 15-SP4
                    SUSE Linux Enterprise Server for SAP Applications 15-SP4
                    openSUSE Leap 15.4
______________________________________________________________________________

   An update that solves three vulnerabilities and has one
   errata is now available.

Description:

   This update for libarchive fixes the following issues:

   - CVE-2022-26280: Fixed out-of-bounds read via the component
     zipx_lzma_alone_init (bsc#1197634).
   - CVE-2021-36976: Fixed use-after-free in copy_string (called from
     do_uncompress_block and process_block) (bsc#1188572).
   - CVE-2017-5601: Fixed out-of-bounds memory access preventing
     denial-of-service (bsc#1197634, bsc#1189528).


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-2022-1930=1

   - SUSE Linux Enterprise Module for Development Tools 15-SP4:

      zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP4-2022-1930=1

   - SUSE Linux Enterprise Module for Basesystem 15-SP4:

      zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP4-2022-1930=1



Package List:

   - openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64):

      bsdtar-3.5.1-150400.3.3.1
      bsdtar-debuginfo-3.5.1-150400.3.3.1
      libarchive-debugsource-3.5.1-150400.3.3.1
      libarchive-devel-3.5.1-150400.3.3.1
      libarchive13-3.5.1-150400.3.3.1
      libarchive13-debuginfo-3.5.1-150400.3.3.1

   - openSUSE Leap 15.4 (x86_64):

      libarchive13-32bit-3.5.1-150400.3.3.1
      libarchive13-32bit-debuginfo-3.5.1-150400.3.3.1

   - SUSE Linux Enterprise Module for Development Tools 15-SP4 (aarch64 ppc64le s390x x86_64):

      bsdtar-3.5.1-150400.3.3.1
      bsdtar-debuginfo-3.5.1-150400.3.3.1
      libarchive-debugsource-3.5.1-150400.3.3.1

   - SUSE Linux Enterprise Module for Basesystem 15-SP4 (aarch64 ppc64le s390x x86_64):

      libarchive-debugsource-3.5.1-150400.3.3.1
      libarchive-devel-3.5.1-150400.3.3.1
      libarchive13-3.5.1-150400.3.3.1
      libarchive13-debuginfo-3.5.1-150400.3.3.1


References:

   https://www.suse.com/security/cve/CVE-2017-5601.html
   https://www.suse.com/security/cve/CVE-2021-36976.html
   https://www.suse.com/security/cve/CVE-2022-26280.html
   https://bugzilla.suse.com/1022528
   https://bugzilla.suse.com/1188572
   https://bugzilla.suse.com/1189528
   https://bugzilla.suse.com/1197634