RHSA-2023:4520MediumCVSS 6.1

Red Hat Security Advisory: python-requests security update

Published
August 8, 2023
Last Modified
November 7, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2023-32681 — python-requests: Unintended leak of Proxy-Authorization header

🎯 Affected products3

  • Red Hat Enterprise Linux BaseOS (v. 8)
  • python-requests-0:2.20.0-3.el8_8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • python3-requests-0:2.20.0-3.el8_8.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 8)

✅ 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)

🔗 References (4)