RHSA-2023:4350MediumCVSS 6.1
Red Hat Security Advisory: python-requests security update
🔗 CVE IDs covered (1)
📋 Description
CVE-2023-32681 — python-requests: Unintended leak of Proxy-Authorization header
🎯 Affected products6
- Red Hat Enterprise Linux AppStream (v. 9)
- Red Hat Enterprise Linux BaseOS (v. 9)
- python-requests-0:2.25.1-7.el9_2.src as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- python3-requests+security-0:2.25.1-7.el9_2.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)
- python3-requests+socks-0:2.25.1-7.el9_2.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)
- python3-requests-0:2.25.1-7.el9_2.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 9)
✅ 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: 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)