Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update
🔗 CVE IDs covered (2)
📋 Description
CVE-2007-4559 — python: tarfile module directory traversal CVE-2023-32681 — python-requests: Unintended leak of Proxy-Authorization header
🎯 Affected products200
- Red Hat CodeReady Linux Builder (v. 8)
- Red Hat Enterprise Linux AppStream (v. 8)
- Cython-0:0.29.21-5.module+el8.9.0+19644+d68f775d.src (python39-devel:3.9) as a component of Red Hat CodeReady Linux Builder (v. 8)
- Cython-debugsource-0:0.29.21-5.module+el8.9.0+19644+d68f775d.aarch64 (python39-devel:3.9) as a component of Red Hat CodeReady Linux Builder (v. 8)
- Cython-debugsource-0:0.29.21-5.module+el8.9.0+19644+d68f775d.ppc64le (python39-devel:3.9) as a component of Red Hat CodeReady Linux Builder (v. 8)
- Cython-debugsource-0:0.29.21-5.module+el8.9.0+19644+d68f775d.s390x (python39-devel:3.9) as a component of Red Hat CodeReady Linux Builder (v. 8)
- Cython-debugsource-0:0.29.21-5.module+el8.9.0+19644+d68f775d.x86_64 (python39-devel:3.9) as a component of Red Hat CodeReady Linux Builder (v. 8)
- PyYAML-0:5.4.1-1.module+el8.9.0+19644+d68f775d.src (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- PyYAML-debugsource-0:5.4.1-1.module+el8.9.0+19644+d68f775d.aarch64 (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- PyYAML-debugsource-0:5.4.1-1.module+el8.9.0+19644+d68f775d.ppc64le (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- PyYAML-debugsource-0:5.4.1-1.module+el8.9.0+19644+d68f775d.s390x (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- PyYAML-debugsource-0:5.4.1-1.module+el8.9.0+19644+d68f775d.x86_64 (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- mod_wsgi-0:4.7.1-7.module+el8.9.0+19644+d68f775d.src (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-0:1.19.4-3.module+el8.9.0+19644+d68f775d.src (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-debugsource-0:1.19.4-3.module+el8.9.0+19644+d68f775d.aarch64 (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-debugsource-0:1.19.4-3.module+el8.9.0+19644+d68f775d.ppc64le (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-debugsource-0:1.19.4-3.module+el8.9.0+19644+d68f775d.s390x (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-debugsource-0:1.19.4-3.module+el8.9.0+19644+d68f775d.x86_64 (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pybind11-0:2.7.1-1.module+el8.9.0+19644+d68f775d.src (python39-devel:3.9) as a component of Red Hat CodeReady Linux Builder (v. 8)
- pytest-0:6.0.2-2.module+el8.9.0+19644+d68f775d.src (python39-devel:3.9) as a component of Red Hat CodeReady Linux Builder (v. 8)
- python-PyMySQL-0:0.10.1-2.module+el8.9.0+19644+d68f775d.src (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-attrs-0:20.3.0-2.module+el8.9.0+19644+d68f775d.src (python39-devel:3.9) as a component of Red Hat CodeReady Linux Builder (v. 8)
- python-cffi-0:1.14.3-2.module+el8.9.0+19644+d68f775d.src (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-cffi-debugsource-0:1.14.3-2.module+el8.9.0+19644+d68f775d.aarch64 (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-cffi-debugsource-0:1.14.3-2.module+el8.9.0+19644+d68f775d.ppc64le (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-cffi-debugsource-0:1.14.3-2.module+el8.9.0+19644+d68f775d.s390x (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-cffi-debugsource-0:1.14.3-2.module+el8.9.0+19644+d68f775d.x86_64 (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-chardet-0:3.0.4-19.module+el8.9.0+19644+d68f775d.src (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-cryptography-0:3.3.1-2.module+el8.9.0+19644+d68f775d.src (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-cryptography-debugsource-0:3.3.1-2.module+el8.9.0+19644+d68f775d.aarch64 (python39:3.9) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- +170 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: Do not extract archives from untrusted sources with the Python tarfile module. Users of the module should add sanity checks when calling the tarfile.extract or tarfile.extractall functions. Workaround: For users who are not able to update Requests immediately, there is one potential workaround. You may disable redirects by setting allow_redirects to False on all calls through Requests top-level APIs. Note that if you are currently relying on redirect behaviors, you will need to capture the 3xx response codes and ensure a new request is made to the redirect destination. import requests r = requests.get('http://github.com/', allow_redirects=False)
🔗 References (12)
- selfhttps://access.redhat.com/errata/RHSA-2023:7034
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.9_release_notes/index
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=263261
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2209469
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2213595
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2213837
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2213849
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2217858
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2218275
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2222715
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_7034.json