openSUSE Security Update: Security update for zstd
______________________________________________________________________________

Announcement ID:    openSUSE-SU-2021:0481-1
Rating:             moderate
References:         #1183370 #1183371 
Cross-References:   CVE-2021-24031 CVE-2021-24032
CVSS scores:
                    CVE-2021-24031 (NVD) : 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
                    CVE-2021-24031 (SUSE): 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
                    CVE-2021-24032 (NVD) : 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
                    CVE-2021-24032 (SUSE): 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected Products:
                    openSUSE Leap 15.2
______________________________________________________________________________

   An update that fixes two vulnerabilities is now available.

Description:

   This update for zstd fixes the following issues:

   - CVE-2021-24031: Added read permissions to files while being compressed
     or uncompressed (bsc#1183371).
   - CVE-2021-24032: Fixed a race condition which could have allowed an
     attacker to access world-readable destination file (bsc#1183370).

   This update was imported from the SUSE:SLE-15:Update update project.


Patch Instructions:

   To install this openSUSE 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.2:

      zypper in -t patch openSUSE-2021-481=1



Package List:

   - openSUSE Leap 15.2 (i586 x86_64):

      libzstd-devel-1.4.4-lp152.2.3.1
      libzstd-devel-static-1.4.4-lp152.2.3.1
      libzstd1-1.4.4-lp152.2.3.1
      libzstd1-debuginfo-1.4.4-lp152.2.3.1
      zstd-1.4.4-lp152.2.3.1
      zstd-debuginfo-1.4.4-lp152.2.3.1
      zstd-debugsource-1.4.4-lp152.2.3.1

   - openSUSE Leap 15.2 (x86_64):

      libzstd1-32bit-1.4.4-lp152.2.3.1
      libzstd1-32bit-debuginfo-1.4.4-lp152.2.3.1


References:

   https://www.suse.com/security/cve/CVE-2021-24031.html
   https://www.suse.com/security/cve/CVE-2021-24032.html
   https://bugzilla.suse.com/1183370
   https://bugzilla.suse.com/1183371