PyPA Advisory Database
PYSEC-2018-28
Details
The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | requests | All versions before 2.20.0 (fixed in 2.20.0) |
References
- https://github.com/requests/requests/pull/4718
- https://github.com/requests/requests/issues/4716
- https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
- https://bugs.debian.org/910766
- https://usn.ubuntu.com/3790-1/
- http://docs.python-requests.org/en/master/community/updates/#release-and-version-history
- https://usn.ubuntu.com/3790-2/
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html
- https://access.redhat.com/errata/RHSA-2019:2035
- https://github.com/advisories/GHSA-x84v-xcm2-53pg