Skip to content
Myr

v2.31.0

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nate Prewitt · committed by GitHub · parent 74ea7cf · Browse files · 2 files+29 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+29 added−2 removed

  • other:+29 added−2 removed

2 files+29 added−2 removed

modified:requests/__version__.py+2 added-2 removed
3 unmodified lines
45__title__ = "requests"6__description__ = "Python HTTP for Humans."7__url__ = "https://requests.readthedocs.io"8__version__ = "2.30.0"9__build__ = 0x0230008__version__ = "2.31.0"9__build__ = 0x02310010__author__ = "Kenneth Reitz"11__author_email__ = "me@kennethreitz.org"12__license__ = "Apache 2.0"13__copyright__ = "Copyright Kenneth Reitz"
1 unmodified line
modified:HISTORY.md+27 added
4 unmodified lines
5---67- \[Short description of non-trivial change.\]892.31.0 (2023-05-22)10-------------------1112**Security**13- Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential14 forwarding of `Proxy-Authorization` headers to destination servers when15 following HTTPS redirects.1617 When proxies are defined with user info (https://user:pass@proxy:8080), Requests18 will construct a `Proxy-Authorization` header that is attached to the request to19 authenticate with the proxy.2021 In cases where Requests receives a redirect response, it previously reattached22 the `Proxy-Authorization` header incorrectly, resulting in the value being23 sent through the tunneled connection to the destination server. Users who rely on24 defining their proxy credentials in the URL are *strongly* encouraged to upgrade25 to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy26 credentials once the change has been fully deployed.2728 Users who do not use a proxy or do not supply their proxy credentials through29 the user information portion of their proxy URL are not subject to this30 vulnerability.3132 Full details can be read in our [Github Security Advisory](https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q)33 and [CVE-2023-32681](https://nvd.nist.gov/vuln/detail/CVE-2023-32681).3435362.30.0 (2023-05-03)37-------------------3839**Dependencies**
1867 unmodified lines