openSUSE Security Update: Security update for python3
______________________________________________________________________________

Announcement ID:    openSUSE-SU-2021:0331-1
Rating:             moderate
References:         #1176262 #1179756 #1180686 #1181126 
Cross-References:   CVE-2019-20916 CVE-2021-3177
CVSS scores:
                    CVE-2019-20916 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
                    CVE-2019-20916 (SUSE): 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
                    CVE-2021-3177 (NVD) : 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
                    CVE-2021-3177 (SUSE): 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products:
                    openSUSE Leap 15.2
______________________________________________________________________________

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

Description:

   This update for python3 fixes the following issues:

   - CVE-2021-3177: Fixed buffer overflow in PyCArg_repr in
     _ctypes/callproc.c, which may lead to remote code execution
     (bsc#1181126).
   - Provide the newest setuptools wheel (bsc#1176262, CVE-2019-20916) in
     their correct form (bsc#1180686).


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-331=1



Package List:

   - openSUSE Leap 15.2 (i586 x86_64):

      libpython3_6m1_0-3.6.12-lp152.4.17.1
      libpython3_6m1_0-debuginfo-3.6.12-lp152.4.17.1
      python3-3.6.12-lp152.4.17.1
      python3-base-3.6.12-lp152.4.17.1
      python3-base-debuginfo-3.6.12-lp152.4.17.1
      python3-core-debugsource-3.6.12-lp152.4.17.1
      python3-curses-3.6.12-lp152.4.17.1
      python3-curses-debuginfo-3.6.12-lp152.4.17.1
      python3-dbm-3.6.12-lp152.4.17.1
      python3-dbm-debuginfo-3.6.12-lp152.4.17.1
      python3-debuginfo-3.6.12-lp152.4.17.1
      python3-debugsource-3.6.12-lp152.4.17.1
      python3-devel-3.6.12-lp152.4.17.1
      python3-devel-debuginfo-3.6.12-lp152.4.17.1
      python3-doc-3.6.12-lp152.4.17.1
      python3-doc-devhelp-3.6.12-lp152.4.17.1
      python3-idle-3.6.12-lp152.4.17.1
      python3-testsuite-3.6.12-lp152.4.17.1
      python3-testsuite-debuginfo-3.6.12-lp152.4.17.1
      python3-tk-3.6.12-lp152.4.17.1
      python3-tk-debuginfo-3.6.12-lp152.4.17.1
      python3-tools-3.6.12-lp152.4.17.1

   - openSUSE Leap 15.2 (x86_64):

      libpython3_6m1_0-32bit-3.6.12-lp152.4.17.1
      libpython3_6m1_0-32bit-debuginfo-3.6.12-lp152.4.17.1
      python3-32bit-3.6.12-lp152.4.17.1
      python3-32bit-debuginfo-3.6.12-lp152.4.17.1
      python3-base-32bit-3.6.12-lp152.4.17.1
      python3-base-32bit-debuginfo-3.6.12-lp152.4.17.1


References:

   https://www.suse.com/security/cve/CVE-2019-20916.html
   https://www.suse.com/security/cve/CVE-2021-3177.html
   https://bugzilla.suse.com/1176262
   https://bugzilla.suse.com/1179756
   https://bugzilla.suse.com/1180686
   https://bugzilla.suse.com/1181126