Sensitive information sent insecurely In requests
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 11 | - | ||
debian 13 | 2.31.0+dfsg-1 | ||
debian 14 | 2.31.0+dfsg-1 | ||
debian 12 | - | ||
pypi | 2.31.0 | ||
rpm rhel8 | 0:3.8.17-2.module+el8.9.0+19642+a12b4af6 | ||
rpm rhel8 | 0:3.9.18-1.module+el8.9.0+20024+793d7211 | ||
rpm rhel6 | - | - | |
rpm rhel7 | - | - | |
rpm rhel8 | 0:2.20.0-3.el8_8 |
1-10 of 14
10
Aliases
References