Security update for python3

Announcement ID: SUSE-SU-2020:3930-1
Rating: important
References:
Cross-References:
CVSS scores:
  • CVE-2019-16935 ( SUSE ): 5.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • CVE-2019-16935 ( NVD ): 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • CVE-2019-18348 ( SUSE ): 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • CVE-2019-18348 ( NVD ): 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • CVE-2019-20907 ( SUSE ): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • CVE-2019-20907 ( NVD ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • CVE-2019-5010 ( SUSE ): 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • CVE-2019-5010 ( NVD ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • CVE-2020-14422 ( SUSE ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • CVE-2020-14422 ( NVD ): 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • CVE-2020-26116 ( SUSE ): 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
  • CVE-2020-26116 ( NVD ): 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • CVE-2020-27619 ( SUSE ): 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE-2020-27619 ( NVD ): 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE-2020-8492 ( SUSE ): 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • CVE-2020-8492 ( NVD ): 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Products:
  • Basesystem Module 15-SP2
  • Basesystem Module 15-SP1
  • Development Tools Module 15-SP2
  • Development Tools Module 15-SP1
  • SUSE Linux Enterprise Desktop 15 SP1
  • SUSE Linux Enterprise Desktop 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15
  • SUSE Linux Enterprise High Performance Computing 15 LTSS 15
  • SUSE Linux Enterprise High Performance Computing 15 SP1
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise Real Time 15 SP1
  • SUSE Linux Enterprise Real Time 15 SP2
  • SUSE Linux Enterprise Server 15
  • SUSE Linux Enterprise Server 15 LTSS 15
  • SUSE Linux Enterprise Server 15 SP1
  • SUSE Linux Enterprise Server 15 SP1 Business Critical Linux 15-SP1
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP2 Business Critical Linux 15-SP2
  • SUSE Linux Enterprise Server ESPOS 15
  • SUSE Linux Enterprise Server for SAP Applications 15
  • SUSE Linux Enterprise Server for SAP Applications 15 SP1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Manager Proxy 4.0
  • SUSE Manager Proxy 4.1
  • SUSE Manager Retail Branch Server 4.0
  • SUSE Manager Retail Branch Server 4.1
  • SUSE Manager Server 4.0
  • SUSE Manager Server 4.1

An update that solves eight vulnerabilities and contains two features can now be installed.

Description:

This update for python3 fixes the following issues:

  • Fixed CVE-2020-27619 (bsc#1178009), where Lib/test/multibytecodec_support calls eval() on content retrieved via HTTP.
  • Change setuptools and pip version numbers according to new wheels
  • Handful of changes to make python36 compatible with SLE15 and SLE12 (jsc#ECO-2799, jsc#SLE-13738)
  • add triplets for mips-r6 and riscv
  • RISC-V needs CTYPES_PASS_BY_REF_HACK

Update to 3.6.12 (bsc#1179193)

  • Ensure python3.dll is loaded from correct locations when Python is embedded
  • The hash() methods of ipaddress.IPv4Interface and ipaddress.IPv6Interface incorrectly generated constant hash values of 32 and 128 respectively. This resulted in always causing hash collisions. The fix uses hash() to generate hash values for the tuple of (address, mask length, network address).
  • Prevent http header injection by rejecting control characters in http.client.putrequest(…).
  • Unpickling invalid NEWOBJ_EX opcode with the C implementation raises now UnpicklingError instead of crashing.
  • Avoid infinite loop when reading specially crafted TAR files using the tarfile module

  • This release also fixes CVE-2020-26116 (bsc#1177211) and CVE-2019-20907 (bsc#1174091).

Update to 3.6.11:

  • Disallow CR or LF in email.headerregistry. Address arguments to guard against header injection attacks.
  • Disallow control characters in hostnames in http.client, addressing CVE-2019-18348. Such potentially malicious header injection URLs now cause a InvalidURL to be raised. (bsc#1155094)
  • CVE-2020-8492: The AbstractBasicAuthHandler class of the urllib.request module uses an inefficient regular expression which can be exploited by an attacker to cause a denial of service. Fix the regex to prevent the catastrophic backtracking. Vulnerability reported by Ben Caller and Matt Schwager.

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • Basesystem Module 15-SP1
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP1-2020-3930=1
  • Basesystem Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP2-2020-3930=1
  • Development Tools Module 15-SP1
    zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP1-2020-3930=1
  • Development Tools Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP2-2020-3930=1
  • SUSE Linux Enterprise Server ESPOS 15
    zypper in -t patch SUSE-SLE-Product-HPC-15-2020-3930=1
  • SUSE Linux Enterprise High Performance Computing 15 LTSS 15
    zypper in -t patch SUSE-SLE-Product-HPC-15-2020-3930=1
  • SUSE Linux Enterprise Server 15 LTSS 15
    zypper in -t patch SUSE-SLE-Product-SLES-15-2020-3930=1
  • SUSE Linux Enterprise Server for SAP Applications 15
    zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-2020-3930=1

Package List:

  • Basesystem Module 15-SP1 (aarch64 ppc64le s390x x86_64)
    • python3-3.6.12-3.67.2
    • python3-curses-3.6.12-3.67.2
    • python3-dbm-3.6.12-3.67.2
    • python3-devel-debuginfo-3.6.12-3.67.2
    • python3-curses-debuginfo-3.6.12-3.67.2
    • python3-tk-3.6.12-3.67.2
    • python3-dbm-debuginfo-3.6.12-3.67.2
    • python3-base-3.6.12-3.67.2
    • python3-idle-3.6.12-3.67.2
    • python3-debugsource-3.6.12-3.67.2
    • python3-devel-3.6.12-3.67.2
    • libpython3_6m1_0-debuginfo-3.6.12-3.67.2
    • python3-tk-debuginfo-3.6.12-3.67.2
    • libpython3_6m1_0-3.6.12-3.67.2
    • python3-testsuite-3.6.12-3.67.2
    • python3-debuginfo-3.6.12-3.67.2
  • Basesystem Module 15-SP2 (aarch64 ppc64le s390x x86_64)
    • python3-3.6.12-3.67.2
    • python3-curses-3.6.12-3.67.2
    • python3-dbm-3.6.12-3.67.2
    • python3-devel-debuginfo-3.6.12-3.67.2
    • python3-curses-debuginfo-3.6.12-3.67.2
    • python3-tk-3.6.12-3.67.2
    • python3-dbm-debuginfo-3.6.12-3.67.2
    • python3-base-3.6.12-3.67.2
    • python3-idle-3.6.12-3.67.2
    • python3-debugsource-3.6.12-3.67.2
    • python3-devel-3.6.12-3.67.2
    • libpython3_6m1_0-debuginfo-3.6.12-3.67.2
    • python3-tk-debuginfo-3.6.12-3.67.2
    • libpython3_6m1_0-3.6.12-3.67.2
    • python3-debuginfo-3.6.12-3.67.2
  • Development Tools Module 15-SP1 (aarch64 ppc64le s390x x86_64)
    • python3-tools-3.6.12-3.67.2
  • Development Tools Module 15-SP2 (aarch64 ppc64le s390x x86_64)
    • python3-tools-3.6.12-3.67.2
  • SUSE Linux Enterprise Server ESPOS 15 (aarch64 x86_64)
    • python3-3.6.12-3.67.2
    • python3-curses-3.6.12-3.67.2
    • python3-dbm-3.6.12-3.67.2
    • python3-devel-debuginfo-3.6.12-3.67.2
    • python3-curses-debuginfo-3.6.12-3.67.2
    • python3-tk-3.6.12-3.67.2
    • python3-dbm-debuginfo-3.6.12-3.67.2
    • python3-base-3.6.12-3.67.2
    • python3-tools-3.6.12-3.67.2
    • python3-idle-3.6.12-3.67.2
    • python3-debugsource-3.6.12-3.67.2
    • python3-devel-3.6.12-3.67.2
    • libpython3_6m1_0-debuginfo-3.6.12-3.67.2
    • python3-tk-debuginfo-3.6.12-3.67.2
    • libpython3_6m1_0-3.6.12-3.67.2
    • python3-debuginfo-3.6.12-3.67.2
  • SUSE Linux Enterprise High Performance Computing 15 LTSS 15 (aarch64 x86_64)
    • python3-3.6.12-3.67.2
    • python3-curses-3.6.12-3.67.2
    • python3-dbm-3.6.12-3.67.2
    • python3-devel-debuginfo-3.6.12-3.67.2
    • python3-curses-debuginfo-3.6.12-3.67.2
    • python3-tk-3.6.12-3.67.2
    • python3-dbm-debuginfo-3.6.12-3.67.2
    • python3-base-3.6.12-3.67.2
    • python3-tools-3.6.12-3.67.2
    • python3-idle-3.6.12-3.67.2
    • python3-debugsource-3.6.12-3.67.2
    • python3-devel-3.6.12-3.67.2
    • libpython3_6m1_0-debuginfo-3.6.12-3.67.2
    • python3-tk-debuginfo-3.6.12-3.67.2
    • libpython3_6m1_0-3.6.12-3.67.2
    • python3-debuginfo-3.6.12-3.67.2
  • SUSE Linux Enterprise Server 15 LTSS 15 (aarch64 ppc64le s390x x86_64)
    • python3-3.6.12-3.67.2
    • python3-curses-3.6.12-3.67.2
    • python3-dbm-3.6.12-3.67.2
    • python3-devel-debuginfo-3.6.12-3.67.2
    • python3-curses-debuginfo-3.6.12-3.67.2
    • python3-tk-3.6.12-3.67.2
    • python3-dbm-debuginfo-3.6.12-3.67.2
    • python3-base-3.6.12-3.67.2
    • python3-tools-3.6.12-3.67.2
    • python3-idle-3.6.12-3.67.2
    • python3-debugsource-3.6.12-3.67.2
    • python3-devel-3.6.12-3.67.2
    • libpython3_6m1_0-debuginfo-3.6.12-3.67.2
    • python3-tk-debuginfo-3.6.12-3.67.2
    • libpython3_6m1_0-3.6.12-3.67.2
    • python3-debuginfo-3.6.12-3.67.2
  • SUSE Linux Enterprise Server for SAP Applications 15 (ppc64le x86_64)
    • python3-3.6.12-3.67.2
    • python3-curses-3.6.12-3.67.2
    • python3-dbm-3.6.12-3.67.2
    • python3-devel-debuginfo-3.6.12-3.67.2
    • python3-curses-debuginfo-3.6.12-3.67.2
    • python3-tk-3.6.12-3.67.2
    • python3-dbm-debuginfo-3.6.12-3.67.2
    • python3-base-3.6.12-3.67.2
    • python3-tools-3.6.12-3.67.2
    • python3-idle-3.6.12-3.67.2
    • python3-debugsource-3.6.12-3.67.2
    • python3-devel-3.6.12-3.67.2
    • libpython3_6m1_0-debuginfo-3.6.12-3.67.2
    • python3-tk-debuginfo-3.6.12-3.67.2
    • libpython3_6m1_0-3.6.12-3.67.2
    • python3-debuginfo-3.6.12-3.67.2

References: