openSUSE-SU-2020:2332-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/openSUSE-SU-2020:2332-1.json
JSON Data
https://api.osv.dev/v1/vulns/openSUSE-SU-2020:2332-1
Related
Published
2020-12-28T20:41:38Z
Modified
2020-12-28T20:41:38Z
Summary
Security update for python3
Details

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 CTYPESPASSBYREFHACK

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.

This update was imported from the SUSE:SLE-15:Update update project.

References

Affected packages

openSUSE:Leap 15.2 / python3

Package

Name
python3
Purl
purl:rpm/suse/python3&distro=openSUSE%20Leap%2015.2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.12-lp152.4.14.1

Ecosystem specific

{
    "binaries": [
        {
            "python3": "3.6.12-lp152.4.14.1",
            "python3-32bit": "3.6.12-lp152.4.14.1",
            "python3-tk": "3.6.12-lp152.4.14.1",
            "python3-curses": "3.6.12-lp152.4.14.1",
            "python3-dbm": "3.6.12-lp152.4.14.1",
            "python3-devel": "3.6.12-lp152.4.14.1",
            "python3-doc-devhelp": "3.6.12-lp152.4.14.1",
            "python3-tools": "3.6.12-lp152.4.14.1",
            "libpython3_6m1_0": "3.6.12-lp152.4.14.1",
            "python3-idle": "3.6.12-lp152.4.14.1",
            "python3-testsuite": "3.6.12-lp152.4.14.1",
            "libpython3_6m1_0-32bit": "3.6.12-lp152.4.14.1",
            "python3-doc": "3.6.12-lp152.4.14.1",
            "python3-base-32bit": "3.6.12-lp152.4.14.1",
            "python3-base": "3.6.12-lp152.4.14.1"
        }
    ]
}

openSUSE:Leap 15.2 / python3-core

Package

Name
python3-core
Purl
purl:rpm/suse/python3-core&distro=openSUSE%20Leap%2015.2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.12-lp152.4.14.1

Ecosystem specific

{
    "binaries": [
        {
            "python3": "3.6.12-lp152.4.14.1",
            "python3-32bit": "3.6.12-lp152.4.14.1",
            "python3-tk": "3.6.12-lp152.4.14.1",
            "python3-curses": "3.6.12-lp152.4.14.1",
            "python3-dbm": "3.6.12-lp152.4.14.1",
            "python3-devel": "3.6.12-lp152.4.14.1",
            "python3-doc-devhelp": "3.6.12-lp152.4.14.1",
            "python3-tools": "3.6.12-lp152.4.14.1",
            "libpython3_6m1_0": "3.6.12-lp152.4.14.1",
            "python3-idle": "3.6.12-lp152.4.14.1",
            "python3-testsuite": "3.6.12-lp152.4.14.1",
            "libpython3_6m1_0-32bit": "3.6.12-lp152.4.14.1",
            "python3-doc": "3.6.12-lp152.4.14.1",
            "python3-base-32bit": "3.6.12-lp152.4.14.1",
            "python3-base": "3.6.12-lp152.4.14.1"
        }
    ]
}

openSUSE:Leap 15.2 / python3-documentation

Package

Name
python3-documentation
Purl
purl:rpm/suse/python3-documentation&distro=openSUSE%20Leap%2015.2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.12-lp152.4.14.1

Ecosystem specific

{
    "binaries": [
        {
            "python3": "3.6.12-lp152.4.14.1",
            "python3-32bit": "3.6.12-lp152.4.14.1",
            "python3-tk": "3.6.12-lp152.4.14.1",
            "python3-curses": "3.6.12-lp152.4.14.1",
            "python3-dbm": "3.6.12-lp152.4.14.1",
            "python3-devel": "3.6.12-lp152.4.14.1",
            "python3-doc-devhelp": "3.6.12-lp152.4.14.1",
            "python3-tools": "3.6.12-lp152.4.14.1",
            "libpython3_6m1_0": "3.6.12-lp152.4.14.1",
            "python3-idle": "3.6.12-lp152.4.14.1",
            "python3-testsuite": "3.6.12-lp152.4.14.1",
            "libpython3_6m1_0-32bit": "3.6.12-lp152.4.14.1",
            "python3-doc": "3.6.12-lp152.4.14.1",
            "python3-base-32bit": "3.6.12-lp152.4.14.1",
            "python3-base": "3.6.12-lp152.4.14.1"
        }
    ]
}