CVE-2023-32681
Last modified
CVE-2023-32681 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. EPSS estimates a 2.78% chance of exploitation in the next 30 days.
Description
Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use `rebuild_proxies` to reattach the `Proxy-Authorization` header to requests. For HTTP connections sent through the tunnel, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into the tunneled request. This results in Requests forwarding proxy credentials to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate sensitive information. This issue has been patched in version 2.31.0.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Requests | >= 2.3.0, < 2.31.0 |
| Fedoraproject | Fedora | 37 |
References
- https://github.com/psf/requests/releases/tag/v2.31.0Release Notes
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y/Mailing List, Third Party Advisory
- https://github.com/psf/requests/releases/tag/v2.31.0Release Notes
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y/Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-32681?
How severe is CVE-2023-32681?
How do I fix CVE-2023-32681?
Are you affected by CVE-2023-32681?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
