openSUSE Security Update: Security update for crmsh
______________________________________________________________________________

Announcement ID:    openSUSE-SU-2021:0410-1
Rating:             important
References:         #1154927 #1178454 #1178869 #1179999 #1180126 
                    #1180137 #1180571 #1180688 #1181415 
Cross-References:   CVE-2020-35459 CVE-2021-3020
CVSS scores:
                    CVE-2020-35459 (NVD) : 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
                    CVE-2020-35459 (SUSE): 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
                    CVE-2021-3020 (SUSE): 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products:
                    openSUSE Leap 15.2
______________________________________________________________________________

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

Description:

   This update for crmsh fixes the following issues:

   - Update to version 4.3.0+20210305.9db5c9a8:
     * Fix: bootstrap: Adjust qdevice configure/remove process to avoid race
       condition due to quorum lost(bsc#1181415)
     * Dev: cibconfig: remove related code about detecting crm_diff support
       --no-verion
     * Fix: ui_configure: raise error when params not exist(bsc#1180126)
     * Dev: doc: remove doc for crm node status
     * Dev: ui_node: remove status subcommand

   - Update to version 4.3.0+20210219.5d1bf034:
     * Fix: hb_report: walk through hb_report process under
       hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)
     * Fix: bootstrap: setup authorized ssh access for
       hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)
     * Dev: analyze: Add analyze sublevel and put preflight_check in
       it(jsc#ECO-1658)
     * Dev: utils: change default file mod as 644 for str2file function
     * Dev: hb_report: Detect if any ocfs2 partitions exist
     * Dev: lock: give more specific error message when raise ClaimLockError
     * Fix: Replace mktemp() to mkstemp() for security
     * Fix: Remove the duplicate --cov-report html in tox.
     * Fix: fix some lint issues.
     * Fix: Replace utils.msg_info to task.info
     * Fix: Solve a circular import error of utils.py
     * Fix: hb_report: run lsof with specific ocfs2 device(bsc#1180688)
     * Dev: corosync: change the permission of corosync.conf to 644
     * Fix: preflight_check: task: raise error when report_path isn't a
       directory
     * Fix: bootstrap: Use class Watchdog to simplify watchdog
       config(bsc#1154927, bsc#1178869)
     * Dev: Polish the sbd feature.
     * Dev: Replace -f with -c and run check when no parameter provide.
     * Fix: Fix the yes option not working
     * Fix: Remove useless import and show help when no input.
     * Dev: Correct SBD device id inconsistenc during ASR
     * Fix: completers: return complete start/stop resource id list
       correctly(bsc#1180137)
     * Dev: Makefile.am: change makefile to integrate preflight_check
     * Medium: integrate preflight_check into crmsh(jsc#ECO-1658)
     * Fix: bootstrap: make sure sbd device UUID was the same between
       nodes(bsc#1178454)

   This update was imported from the SUSE:SLE-15-SP2: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-410=1



Package List:

   - openSUSE Leap 15.2 (noarch):

      crmsh-4.3.0+20210305.9db5c9a8-lp152.4.47.1
      crmsh-scripts-4.3.0+20210305.9db5c9a8-lp152.4.47.1
      crmsh-test-4.3.0+20210305.9db5c9a8-lp152.4.47.1


References:

   https://www.suse.com/security/cve/CVE-2020-35459.html
   https://www.suse.com/security/cve/CVE-2021-3020.html
   https://bugzilla.suse.com/1154927
   https://bugzilla.suse.com/1178454
   https://bugzilla.suse.com/1178869
   https://bugzilla.suse.com/1179999
   https://bugzilla.suse.com/1180126
   https://bugzilla.suse.com/1180137
   https://bugzilla.suse.com/1180571
   https://bugzilla.suse.com/1180688
   https://bugzilla.suse.com/1181415