SUSE Security Update: Security update for golang-github-prometheus-alertmanager
______________________________________________________________________________

Announcement ID:    SUSE-SU-2022:2139-1
Rating:             important
References:         #1181400 #1196338 SLE-24077 
Cross-References:   CVE-2022-21698
CVSS scores:
                    CVE-2022-21698 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
                    CVE-2022-21698 (SUSE): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products:
                    SUSE Enterprise Storage 6
                    SUSE Linux Enterprise Module for SUSE Manager Proxy 4.1
                    SUSE Linux Enterprise Module for SUSE Manager Proxy 4.2
                    SUSE Linux Enterprise Module for SUSE Manager Proxy 4.3
                    SUSE Manager Proxy 4.1
                    SUSE Manager Proxy 4.2
                    SUSE Manager Proxy 4.3
                    SUSE Manager Tools 15
                    openSUSE Leap 15.3
                    openSUSE Leap 15.4
______________________________________________________________________________

   An update that solves one vulnerability, contains one
   feature and has one errata is now available.

Description:

   This update for golang-github-prometheus-alertmanager fixes the following
   issues:

   Update golang-github-prometheus-alertmanager from version 0.21.0 to
   version 0.23.0 (bsc#1196338, jsc#SLE-24077)

   - CVE-2022-21698: Denial of service using InstrumentHandlerCounter
   - Update vendor tarball with prometheus/client_golang 1.11.1
   - Update required Go version to 1.16
   - Use %autosetup macro
   - Update to version 0.23.0:
     * Release 0.23.0
     * Release 0.23.0-rc.0
     * amtool: Detect version drift and warn users (#2672)
     * Add ability to skip TLS verification for amtool (#2663)
     * Fix empty isEqual in amtool. (#2668)
     * Fix main tests (#2670)
     * cli: add new template render command (#2538)
     * OpsGenie: refer to alert instead of incident (#2609)
     * Docs: target_match and source_match are DEPRECATED (#2665)
     * Fix test not waiting for cluster member to be ready
   - Add go_modules to _service.
   - Added hardening to systemd service(s) with a modified
     prometheus-alertmanager.service (bsc#1181400)


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

      zypper in -t patch openSUSE-SLE-15.4-2022-2139=1

   - openSUSE Leap 15.3:

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

   - SUSE Manager Tools 15:

      zypper in -t patch SUSE-SLE-Manager-Tools-15-2022-2139=1

   - SUSE Linux Enterprise Module for SUSE Manager Proxy 4.3:

      zypper in -t patch SUSE-SLE-Module-SUSE-Manager-Proxy-4.3-2022-2139=1

   - SUSE Linux Enterprise Module for SUSE Manager Proxy 4.2:

      zypper in -t patch SUSE-SLE-Module-SUSE-Manager-Proxy-4.2-2022-2139=1

   - SUSE Linux Enterprise Module for SUSE Manager Proxy 4.1:

      zypper in -t patch SUSE-SLE-Module-SUSE-Manager-Proxy-4.1-2022-2139=1

   - SUSE Enterprise Storage 6:

      zypper in -t patch SUSE-Storage-6-2022-2139=1



Package List:

   - openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64):

      golang-github-prometheus-alertmanager-0.23.0-150100.4.7.1

   - openSUSE Leap 15.3 (aarch64 ppc64le s390x x86_64):

      golang-github-prometheus-alertmanager-0.23.0-150100.4.7.1

   - SUSE Manager Tools 15 (aarch64 ppc64le s390x x86_64):

      golang-github-prometheus-alertmanager-0.23.0-150100.4.7.1

   - SUSE Linux Enterprise Module for SUSE Manager Proxy 4.3 (aarch64 ppc64le s390x x86_64):

      golang-github-prometheus-alertmanager-0.23.0-150100.4.7.1

   - SUSE Linux Enterprise Module for SUSE Manager Proxy 4.2 (aarch64 ppc64le s390x x86_64):

      golang-github-prometheus-alertmanager-0.23.0-150100.4.7.1

   - SUSE Linux Enterprise Module for SUSE Manager Proxy 4.1 (aarch64 ppc64le s390x x86_64):

      golang-github-prometheus-alertmanager-0.23.0-150100.4.7.1

   - SUSE Enterprise Storage 6 (aarch64 x86_64):

      golang-github-prometheus-alertmanager-0.23.0-150100.4.7.1


References:

   https://www.suse.com/security/cve/CVE-2022-21698.html
   https://bugzilla.suse.com/1181400
   https://bugzilla.suse.com/1196338