SUSE Security Update: Security update for zsh
______________________________________________________________________________

Announcement ID:    SUSE-SU-2022:0161-1
Rating:             important
References:         #1107294 #1107296 
Cross-References:   CVE-2018-0502 CVE-2018-13259
CVSS scores:
                    CVE-2018-0502 (NVD) : 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
                    CVE-2018-0502 (SUSE): 7.3 CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
                    CVE-2018-13259 (NVD) : 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
                    CVE-2018-13259 (SUSE): 7.3 CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected Products:
                    SUSE OpenStack Cloud Crowbar 9
                    SUSE OpenStack Cloud Crowbar 8
                    SUSE OpenStack Cloud 9
                    SUSE OpenStack Cloud 8
                    SUSE Linux Enterprise Server for SAP 12-SP4
                    SUSE Linux Enterprise Server for SAP 12-SP3
                    SUSE Linux Enterprise Server 12-SP5
                    SUSE Linux Enterprise Server 12-SP4-LTSS
                    SUSE Linux Enterprise Server 12-SP3-LTSS
                    SUSE Linux Enterprise Server 12-SP3-BCL
                    SUSE Linux Enterprise Server 12-SP2-BCL
                    HPE Helion Openstack 8
______________________________________________________________________________

   An update that fixes two vulnerabilities is now available.

Description:

   This update for zsh fixes the following issues:

   - CVE-2018-0502: Fixed execve call vulnerability to program named on the
     second line when the beginning of a #! script file was mishandled.
     (bsc#1107296, bsc#1107294)
   - CVE-2018-13259: Fixed execve call vulnerability to program name that is
     a substring of the intended one. (bsc#1107296, bsc#1107294)


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:

   - SUSE OpenStack Cloud Crowbar 9:

      zypper in -t patch SUSE-OpenStack-Cloud-Crowbar-9-2022-161=1

   - SUSE OpenStack Cloud Crowbar 8:

      zypper in -t patch SUSE-OpenStack-Cloud-Crowbar-8-2022-161=1

   - SUSE OpenStack Cloud 9:

      zypper in -t patch SUSE-OpenStack-Cloud-9-2022-161=1

   - SUSE OpenStack Cloud 8:

      zypper in -t patch SUSE-OpenStack-Cloud-8-2022-161=1

   - SUSE Linux Enterprise Server for SAP 12-SP4:

      zypper in -t patch SUSE-SLE-SAP-12-SP4-2022-161=1

   - SUSE Linux Enterprise Server for SAP 12-SP3:

      zypper in -t patch SUSE-SLE-SAP-12-SP3-2022-161=1

   - SUSE Linux Enterprise Server 12-SP5:

      zypper in -t patch SUSE-SLE-SERVER-12-SP5-2022-161=1

   - SUSE Linux Enterprise Server 12-SP4-LTSS:

      zypper in -t patch SUSE-SLE-SERVER-12-SP4-LTSS-2022-161=1

   - SUSE Linux Enterprise Server 12-SP3-LTSS:

      zypper in -t patch SUSE-SLE-SERVER-12-SP3-2022-161=1

   - SUSE Linux Enterprise Server 12-SP3-BCL:

      zypper in -t patch SUSE-SLE-SERVER-12-SP3-BCL-2022-161=1

   - SUSE Linux Enterprise Server 12-SP2-BCL:

      zypper in -t patch SUSE-SLE-SERVER-12-SP2-BCL-2022-161=1

   - HPE Helion Openstack 8:

      zypper in -t patch HPE-Helion-OpenStack-8-2022-161=1



Package List:

   - SUSE OpenStack Cloud Crowbar 9 (x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE OpenStack Cloud Crowbar 8 (x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE OpenStack Cloud 9 (x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE OpenStack Cloud 8 (x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE Linux Enterprise Server for SAP 12-SP4 (ppc64le x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE Linux Enterprise Server for SAP 12-SP3 (ppc64le x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE Linux Enterprise Server 12-SP5 (aarch64 ppc64le s390x x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE Linux Enterprise Server 12-SP4-LTSS (aarch64 ppc64le s390x x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE Linux Enterprise Server 12-SP3-LTSS (aarch64 ppc64le s390x x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE Linux Enterprise Server 12-SP3-BCL (x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - SUSE Linux Enterprise Server 12-SP2-BCL (x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2

   - HPE Helion Openstack 8 (x86_64):

      zsh-5.0.5-6.12.2
      zsh-debuginfo-5.0.5-6.12.2
      zsh-debugsource-5.0.5-6.12.2


References:

   https://www.suse.com/security/cve/CVE-2018-0502.html
   https://www.suse.com/security/cve/CVE-2018-13259.html
   https://bugzilla.suse.com/1107294
   https://bugzilla.suse.com/1107296