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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-32676Autolab is a course management service that enables auto-gra…7.2
- CVE-2023-32677Zulip is an open-source team collaboration tool with unique …3.1
- CVE-2023-32678Zulip is an open-source team collaboration tool with topic-b…6.5
- CVE-2023-32679Craft CMS is an open source content management system. In af…7.2
- CVE-2023-3268An out of bounds (OOB) memory access flaw was found in the L…7.1
- CVE-2023-32680Metabase is an open source business analytics engine. To edi…9.6
- CVE-2023-32682Synapse is a Matrix protocol homeserver written in Python wi…5.4
- CVE-2023-32683Synapse is a Matrix protocol homeserver written in Python wi…5.4
- CVE-2023-32684Lima launches Linux virtual machines, typically on macOS, fo…2.5
- CVE-2023-32685Kanboard is project management software that focuses on the …5.4
- CVE-2023-32686Kiwi TCMS is an open source test management system for both …5.4
- CVE-2023-32687tgstation-server is a toolset to manage production BYOND ser…6.5
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
