Red Hat Security Advisory: python3 security update
🔗 CVE IDs covered (4)
📋 Description
CVE-2020-26116 — python: CRLF injection via HTTP request method in httplib/http.client CVE-2020-27619 — python: Unsafe use of eval() on data retrieved via HTTP in the test suite CVE-2021-3177 — python: Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c CVE-2021-23336 — python: Web cache poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a semicolon in query parameters
🎯 Affected products58
- Red Hat Enterprise Linux AppStream (v. 8)
- Red Hat Enterprise Linux BaseOS (v. 8)
- platform-python-0:3.6.8-37.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- platform-python-0:3.6.8-37.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-0:3.6.8-37.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- platform-python-0:3.6.8-37.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- platform-python-0:3.6.8-37.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- platform-python-debug-0:3.6.8-37.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-debug-0:3.6.8-37.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-debug-0:3.6.8-37.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-debug-0:3.6.8-37.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-debug-0:3.6.8-37.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-devel-0:3.6.8-37.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-devel-0:3.6.8-37.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-devel-0:3.6.8-37.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-devel-0:3.6.8-37.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
- platform-python-devel-0:3.6.8-37.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python3-0:3.6.8-37.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python3-debuginfo-0:3.6.8-37.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- python3-debugsource-0:3.6.8-37.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python3-debugsource-0:3.6.8-37.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: In versions of Python shipped with Red Hat Enterprise Linux and Red Hat Software Collections, the flaw can be mitigated by not running the python tests with network resources enabled. By default, the tests are not run with network resources enabled. Ensure that `-u network` or `-uall` are not passed as options to `python -m test`. For more information on how these commands work, see [1]. 1. https://docs.python.org/3/library/test.html
🔗 References (10)
- selfhttps://access.redhat.com/errata/RHSA-2021:1633
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1868003
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1883014
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1889886
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1917691
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1918168
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1928904
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1633.json