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.
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
Source: MITRE
Published: 2018-10-09
Updated: 2022-07-25
Type: CWE-522
Base Score: 5
Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N
Impact Score: 2.9
Exploitability Score: 10
Severity: MEDIUM
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Impact Score: 3.6
Exploitability Score: 3.9
Severity: HIGH