RHSA-2020:4433MediumCVSS 7.5

Red Hat Security Advisory: python3 security and bug fix update

Published
November 4, 2020
Last Modified
November 6, 2026

🔗 CVE IDs covered (4)

📋 Description

CVE-2019-16935 — python: XSS vulnerability in the documentation XML-RPC server in server_title field CVE-2019-20907 — python: infinite loop in the tarfile module via crafted TAR archive CVE-2020-8492 — python: wrong backtracking in urllib.request.AbstractBasicAuthHandler allows for a ReDoS CVE-2020-14422 — python: DoS via inefficiency in IPv{4,6}Interface classes

🎯 Affected products58

  • Red Hat Enterprise Linux AppStream (v. 8)
  • Red Hat Enterprise Linux BaseOS (v. 8)
  • platform-python-0:3.6.8-31.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • platform-python-0:3.6.8-31.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-0:3.6.8-31.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • platform-python-0:3.6.8-31.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • platform-python-0:3.6.8-31.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • platform-python-debug-0:3.6.8-31.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-debug-0:3.6.8-31.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-debug-0:3.6.8-31.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-debug-0:3.6.8-31.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-debug-0:3.6.8-31.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-devel-0:3.6.8-31.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-devel-0:3.6.8-31.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-devel-0:3.6.8-31.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-devel-0:3.6.8-31.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • platform-python-devel-0:3.6.8-31.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • python3-0:3.6.8-31.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • python3-debuginfo-0:3.6.8-31.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • python3-debugsource-0:3.6.8-31.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • python3-debugsource-0:3.6.8-31.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • +28 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: This flaw can be mitigated by not opening untrusted files with tarfile. Workaround: As a short term solution, if your application is using the IPv4Interface/IPv6Interface classes as keys of a dictionary, it is possible to patch the __hash__ method of those classes to not be constant. ``` IPv4Interface.__hash__ = lambda self: hash((self._ip, self._prefixlen, int(self.network.network_address))) IPv6Interface.__hash__ = lambda self: hash((self._ip, self._prefixlen, int(self.network.network_address))) ```

🔗 References (12)