openSUSE Security Update: Security update for htmldoc
______________________________________________________________________________

Announcement ID:    openSUSE-SU-2022:0088-1
Rating:             important
References:         #1192357 #1194303 #1194304 #1194487 #1195758 
                    
Cross-References:   CVE-2021-40985 CVE-2021-43579 CVE-2021-45944
                    CVE-2021-45949 CVE-2022-0534
CVSS scores:
                    CVE-2021-40985 (NVD) : 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
                    CVE-2021-40985 (SUSE): 3.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
                    CVE-2021-43579 (NVD) : 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
                    CVE-2021-43579 (SUSE): 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
                    CVE-2021-45944 (NVD) : 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
                    CVE-2021-45944 (SUSE): 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
                    CVE-2021-45949 (NVD) : 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
                    CVE-2021-45949 (SUSE): 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
                    CVE-2022-0534 (NVD) : 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
                    CVE-2022-0534 (SUSE): 6.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Affected Products:
                    SUSE Linux Enterprise High Performance Computing 12
                    SUSE Linux Enterprise Server 12
                    SUSE Linux Enterprise Server 12-SP3
                    SUSE Linux Enterprise Server 12-SP4
                    SUSE Linux Enterprise Server 12-SP5
                    SUSE Linux Enterprise Server for SAP Applications 12
                    SUSE Linux Enterprise Server for SAP Applications 12-SP3
                    SUSE Linux Enterprise Server for SAP Applications 12-SP4
                    SUSE Linux Enterprise Server for SAP Applications 12-SP5
                    SUSE Package Hub for SUSE Linux Enterprise 12
                    openSUSE Leap 15.3
______________________________________________________________________________

   An update that fixes 5 vulnerabilities is now available.

Description:


   htmldoc was updated to fix issues:

   - CVE-2021-40985: Fixed buffer overflow may lead to DoS via a crafted BMP
     image (bsc#1192357)
   - CVE-2021-43579: Fixed stack-based buffer overflow in image_load_bmp()
     results in remote code execution if the victim converts an HTML document
     linking to a crafted BMP file (bsc#1194487)
   - CVE-2022-0534: Fixed stack out-of-bounds read in gif_get_code() when
     opening a malicious GIF file results in a segmentation fault
     (bsc#1195758)


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

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

   - SUSE Package Hub for SUSE Linux Enterprise 12:

      zypper in -t patch openSUSE-2022-88=1



Package List:

   - openSUSE Leap 15.3 (aarch64 ppc64le s390x x86_64):

      ghostscript-9.52-161.1
      ghostscript-debuginfo-9.52-161.1
      ghostscript-debugsource-9.52-161.1
      ghostscript-devel-9.52-161.1
      ghostscript-x11-9.52-161.1
      ghostscript-x11-debuginfo-9.52-161.1

   - SUSE Package Hub for SUSE Linux Enterprise 12 (aarch64 ppc64le s390x x86_64):

      htmldoc-1.8.28-9.1


References:

   https://www.suse.com/security/cve/CVE-2021-40985.html
   https://www.suse.com/security/cve/CVE-2021-43579.html
   https://www.suse.com/security/cve/CVE-2021-45944.html
   https://www.suse.com/security/cve/CVE-2021-45949.html
   https://www.suse.com/security/cve/CVE-2022-0534.html
   https://bugzilla.suse.com/1192357
   https://bugzilla.suse.com/1194303
   https://bugzilla.suse.com/1194304
   https://bugzilla.suse.com/1194487
   https://bugzilla.suse.com/1195758