SUSE Security Update: Security update for opensc
______________________________________________________________________________

Announcement ID:    SUSE-SU-2022:1156-1
Rating:             important
References:         #1114649 #1191957 #1191992 #1192000 #1192005 
                    
Cross-References:   CVE-2021-42779 CVE-2021-42780 CVE-2021-42781
                    CVE-2021-42782
CVSS scores:
                    CVE-2021-42779 (SUSE): 4.2 CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
                    CVE-2021-42780 (SUSE): 2 CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
                    CVE-2021-42781 (SUSE): 7.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
                    CVE-2021-42782 (SUSE): 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Products:
                    SUSE CaaS Platform 4.0
                    SUSE Enterprise Storage 6
                    SUSE Linux Enterprise Desktop 15-SP3
                    SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS
                    SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS
                    SUSE Linux Enterprise High Performance Computing 15-SP3
                    SUSE Linux Enterprise Micro 5.1
                    SUSE Linux Enterprise Module for Basesystem 15-SP3
                    SUSE Linux Enterprise Realtime Extension 15-SP2
                    SUSE Linux Enterprise Server 15-SP1-BCL
                    SUSE Linux Enterprise Server 15-SP1-LTSS
                    SUSE Linux Enterprise Server 15-SP3
                    SUSE Linux Enterprise Server for SAP 15-SP1
                    SUSE Linux Enterprise Server for SAP Applications 15-SP3
                    SUSE Manager Proxy 4.2
                    SUSE Manager Server 4.2
                    openSUSE Leap 15.3
______________________________________________________________________________

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

Description:

   This update for opensc fixes the following issues:

   Security issues fixed:

   - CVE-2021-42782: Stack buffer overflow issues in various places
     (bsc#1191957).
   - CVE-2021-42781: Fixed multiple heap buffer overflows in
     pkcs15-oberthur.c (bsc#1192000).
   - CVE-2021-42780: Fixed use after return in insert_pin() (bsc#1192005).
   - CVE-2021-42779: Fixed use after free in sc_file_valid() (bsc#1191992).

   Non-security issues fixed:

   - Fixes segmentation fault in 'pkcs11-tool.c'. (bsc#1114649)


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.3:

      zypper in -t patch openSUSE-SLE-15.3-2022-1156=1

   - SUSE Linux Enterprise Server for SAP 15-SP1:

      zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP1-2022-1156=1

   - SUSE Linux Enterprise Server 15-SP1-LTSS:

      zypper in -t patch SUSE-SLE-Product-SLES-15-SP1-LTSS-2022-1156=1

   - SUSE Linux Enterprise Server 15-SP1-BCL:

      zypper in -t patch SUSE-SLE-Product-SLES-15-SP1-BCL-2022-1156=1

   - SUSE Linux Enterprise Realtime Extension 15-SP2:

      zypper in -t patch SUSE-SLE-Product-RT-15-SP2-2022-1156=1

   - SUSE Linux Enterprise Module for Basesystem 15-SP3:

      zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP3-2022-1156=1

   - SUSE Linux Enterprise Micro 5.1:

      zypper in -t patch SUSE-SUSE-MicroOS-5.1-2022-1156=1

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

      zypper in -t patch SUSE-SLE-Product-HPC-15-SP1-LTSS-2022-1156=1

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

      zypper in -t patch SUSE-SLE-Product-HPC-15-SP1-ESPOS-2022-1156=1

   - SUSE Enterprise Storage 6:

      zypper in -t patch SUSE-Storage-6-2022-1156=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.3 (aarch64 ppc64le s390x x86_64):

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

   - openSUSE Leap 15.3 (x86_64):

      opensc-32bit-0.19.0-150100.3.16.1
      opensc-32bit-debuginfo-0.19.0-150100.3.16.1

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

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

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

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

   - SUSE Linux Enterprise Server 15-SP1-BCL (x86_64):

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

   - SUSE Linux Enterprise Realtime Extension 15-SP2 (x86_64):

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

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

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

   - SUSE Linux Enterprise Micro 5.1 (aarch64 s390x x86_64):

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

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

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

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

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

   - SUSE Enterprise Storage 6 (aarch64 x86_64):

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1

   - SUSE CaaS Platform 4.0 (x86_64):

      opensc-0.19.0-150100.3.16.1
      opensc-debuginfo-0.19.0-150100.3.16.1
      opensc-debugsource-0.19.0-150100.3.16.1


References:

   https://www.suse.com/security/cve/CVE-2021-42779.html
   https://www.suse.com/security/cve/CVE-2021-42780.html
   https://www.suse.com/security/cve/CVE-2021-42781.html
   https://www.suse.com/security/cve/CVE-2021-42782.html
   https://bugzilla.suse.com/1114649
   https://bugzilla.suse.com/1191957
   https://bugzilla.suse.com/1191992
   https://bugzilla.suse.com/1192000
   https://bugzilla.suse.com/1192005