Vulnerability
CVE-2018-18074
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.
34 advisories report this vulnerability, across 10 ecosystems.
Advisories in Red Hat
-
RHSA-2019:2035
Red Hat Security Advisory: python-requests security update
-
RHSA-2020:0850
Red Hat Security Advisory: python-pip security update
-
RHSA-2020:0851
Red Hat Security Advisory: python-virtualenv security update
-
RHSA-2020:1605
Red Hat Security Advisory: python27:2.7 security, bug fix, and enhancement update
-
RHSA-2020:1916
Red Hat Security Advisory: python-pip security update
-
RHSA-2020:2068
Red Hat Security Advisory: python-pip security update
-
RHSA-2020:2081
Red Hat Security Advisory: python-virtualenv security update
-
RHVEX-CVE-2018-18074
python-requests: Redirect from HTTPS to HTTP does not remove Authorization header
References
- http://docs.python-requests.org/en/master/community/updates/#release-and-version-history
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html
- https://access.redhat.com/errata/RHSA-2019:2035
- https://bugs.debian.org/910766
- https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
- https://github.com/requests/requests/issues/4716
- https://github.com/requests/requests/pull/4718
- https://usn.ubuntu.com/3790-1/
- https://usn.ubuntu.com/3790-2/
- https://www.oracle.com/security-alerts/cpujul2022.html