SUSE Security Update: Security update for grub2
______________________________________________________________________________

Announcement ID:    SUSE-SU-2022:2039-1
Rating:             important
References:         #1191184 #1191185 #1191186 #1193282 #1198460 
                    #1198493 #1198496 #1198581 
Cross-References:   CVE-2021-3695 CVE-2021-3696 CVE-2021-3697
                    CVE-2022-28733 CVE-2022-28734 CVE-2022-28736
                   
CVSS scores:
                    CVE-2021-3695 (SUSE): 7.5 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
                    CVE-2021-3696 (SUSE): 5 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L
                    CVE-2021-3697 (SUSE): 7.5 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
                    CVE-2022-28733 (SUSE): 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
                    CVE-2022-28736 (SUSE): 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products:
                    SUSE Linux Enterprise Server 12-SP2-BCL
______________________________________________________________________________

   An update that solves 6 vulnerabilities and has two fixes
   is now available.

Description:

   This update for grub2 fixes the following issues:

   Security fixes and hardenings for boothole 3 / boothole 2022 (bsc#1198581)

   - CVE-2021-3695: Fixed that a crafted PNG grayscale image could lead to
     out-of-bounds write in heap (bsc#1191184)
   - CVE-2021-3696: Fixed that a crafted PNG image could lead to out-of-bound
     write during huffman table handling (bsc#1191185)
   - CVE-2021-3697: Fixed that a crafted JPEG image could lead to buffer
     underflow write in the heap (bsc#1191186)
   - CVE-2022-28733: Fixed fragmentation math in net/ip (bsc#1198460)
   - CVE-2022-28734: Fixed an out-of-bound write for split http headers
     (bsc#1198493)
   - CVE-2022-28736: Fixed a use-after-free in chainloader command
     (bsc#1198496)
   - Update SBAT security contact (bsc#1193282)
   - Bump grub's SBAT generation to 2


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 Linux Enterprise Server 12-SP2-BCL:

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



Package List:

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

      grub2-2.02-115.67.2
      grub2-debuginfo-2.02-115.67.2
      grub2-debugsource-2.02-115.67.2
      grub2-i386-pc-2.02-115.67.2
      grub2-x86_64-efi-2.02-115.67.2
      grub2-x86_64-xen-2.02-115.67.2

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

      grub2-snapper-plugin-2.02-115.67.2
      grub2-systemd-sleep-plugin-2.02-115.67.2


References:

   https://www.suse.com/security/cve/CVE-2021-3695.html
   https://www.suse.com/security/cve/CVE-2021-3696.html
   https://www.suse.com/security/cve/CVE-2021-3697.html
   https://www.suse.com/security/cve/CVE-2022-28733.html
   https://www.suse.com/security/cve/CVE-2022-28734.html
   https://www.suse.com/security/cve/CVE-2022-28736.html
   https://bugzilla.suse.com/1191184
   https://bugzilla.suse.com/1191185
   https://bugzilla.suse.com/1191186
   https://bugzilla.suse.com/1193282
   https://bugzilla.suse.com/1198460
   https://bugzilla.suse.com/1198493
   https://bugzilla.suse.com/1198496
   https://bugzilla.suse.com/1198581