python-requests: Redirect from HTTPS to HTTP does not remove Authorization header
Published Oct 9, 2018
7.5
HIGHCVSS 3.1
EPSS 7.44%
Description
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 products
No data.
Configuration 2
- 14.04
- 16.04
- 18.04
- 18.10
Configuration 4
- 7.0
- 7.0
- 7.0
No data.
Red Hat Ansible Tower 3.5 for RHEL 7
ansible-tower-35/ansible-tower:3.5.6-1
Fixed · RHBA-2020:1539
Red Hat Ansible Tower 3.6 for RHEL 7
ansible-tower-36/ansible-tower:3.6.4-1
Fixed · RHBA-2020:1540
Red Hat Enterprise Linux 7
python-pip-0:9.0.3-7.el7_7
Fixed · RHSA-2020:0850
Red Hat Enterprise Linux 7
python-pip-0:9.0.3-7.el7_8
Fixed · RHSA-2020:2068
Red Hat Enterprise Linux 7
python-requests-0:2.6.0-5.el7
Fixed · RHSA-2019:2035
Red Hat Enterprise Linux 7
python-virtualenv-0:15.1.0-4.el7_7
Fixed · RHSA-2020:0851
Red Hat Enterprise Linux 7
python-virtualenv-0:15.1.0-4.el7_8
Fixed · RHSA-2020:2081
Red Hat Enterprise Linux 8
python-pip-0:9.0.3-16.el8
Fixed · RHSA-2020:1916
Red Hat Enterprise Linux 8
python-pip-0:9.0.3-16.el8
Fixed · RHSA-2020:1916
Red Hat Enterprise Linux 8
python27:2.7-8020020200117110429.90f98d4f
Fixed · RHSA-2020:1605
Red Hat Enterprise Linux 6
python-requests
Will not fix
Red Hat Enterprise Linux 8
python-requests
Not affected
Red Hat Enterprise Linux 8
python36:3.6/python-virtualenv
Affected
Red Hat OpenShift Container Platform 3.9
python-requests
Affected
Red Hat OpenStack Platform 10 (Newton)
python-requests
Fix deferred
Red Hat OpenStack Platform 12 (Pike)
python-requests
Affected
Red Hat OpenStack Platform 13 (Queens)
python-requests
Fix deferred
Red Hat OpenStack Platform 14 (Rocky)
python-requests
Affected
Red Hat OpenStack Platform 8 (Liberty)
python-requests
Fix deferred
Red Hat OpenStack Platform 9 (Mitaka)
python-requests
Fix deferred
Red Hat Software Collections
python27-python-pip
Fix deferred
Red Hat Software Collections
python27-python-virtualenv
Fix deferred
Red Hat Software Collections
rh-mongodb36-python-requests
Fix deferred
Red Hat Software Collections
rh-python36-python-pip
Fix deferred
Red Hat Software Collections
rh-python36-python-virtualenv
Fix deferred
Red Hat Storage 3
python-requests
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Tower 3.5 for RHEL 7 | ansible-tower-35/ansible-tower:3.5.6-1 | Fixed | RHBA-2020:1539 |
| Red Hat Ansible Tower 3.6 for RHEL 7 | ansible-tower-36/ansible-tower:3.6.4-1 | Fixed | RHBA-2020:1540 |
| Red Hat Enterprise Linux 7 | python-pip-0:9.0.3-7.el7_7 | Fixed | RHSA-2020:0850 |
| Red Hat Enterprise Linux 7 | python-pip-0:9.0.3-7.el7_8 | Fixed | RHSA-2020:2068 |
| Red Hat Enterprise Linux 7 | python-requests-0:2.6.0-5.el7 | Fixed | RHSA-2019:2035 |
| Red Hat Enterprise Linux 7 | python-virtualenv-0:15.1.0-4.el7_7 | Fixed | RHSA-2020:0851 |
| Red Hat Enterprise Linux 7 | python-virtualenv-0:15.1.0-4.el7_8 | Fixed | RHSA-2020:2081 |
| Red Hat Enterprise Linux 8 | python-pip-0:9.0.3-16.el8 | Fixed | RHSA-2020:1916 |
| Red Hat Enterprise Linux 8 | python-pip-0:9.0.3-16.el8 | Fixed | RHSA-2020:1916 |
| Red Hat Enterprise Linux 8 | python27:2.7-8020020200117110429.90f98d4f | Fixed | RHSA-2020:1605 |
| Red Hat Enterprise Linux 6 | python-requests | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | python-requests | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python36:3.6/python-virtualenv | Affected | n/a |
| Red Hat OpenShift Container Platform 3.9 | python-requests | Affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) | python-requests | Fix deferred | n/a |
| Red Hat OpenStack Platform 12 (Pike) | python-requests | Affected | n/a |
| Red Hat OpenStack Platform 13 (Queens) | python-requests | Fix deferred | n/a |
| Red Hat OpenStack Platform 14 (Rocky) | python-requests | Affected | n/a |
| Red Hat OpenStack Platform 8 (Liberty) | python-requests | Fix deferred | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) | python-requests | Fix deferred | n/a |
| Red Hat Software Collections | python27-python-pip | Fix deferred | n/a |
| Red Hat Software Collections | python27-python-virtualenv | Fix deferred | n/a |
| Red Hat Software Collections | rh-mongodb36-python-requests | Fix deferred | n/a |
| Red Hat Software Collections | rh-python36-python-pip | Fix deferred | n/a |
| Red Hat Software Collections | rh-python36-python-virtualenv | Fix deferred | n/a |
| Red Hat Storage 3 | python-requests | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.44% (0.07443) | 94.27th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.44% (0.07443) | 93.65th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.22% (0.00219) | 42.55th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.35% (0.00351) | 72.71th | v3 (v2023.03.01) |
| May 28, 2024 | 0.50% (0.00498) | 76.26th | v3 (v2023.03.01) |
| Mar 1, 2024 | 0.59% (0.00591) | 77.74th | v3 (v2023.03.01) |
| Oct 3, 2023 | 0.58% (0.00581) | 75.54th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.62% (0.00619) | 75.97th | v3 (v2023.03.01) |
| May 8, 2023 | 0.59% (0.00586) | 74.95th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.35% (0.00347) | 67.18th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.17% (0.02172) | 80.77th | v2 (v2022.01.01) |
| Jul 23, 2022 | 2.17% (0.02172) | 79.67th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.97% (0.01974) | 77.12th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.97% (0.01974) | 56.20th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.59% (0.02590) | 55.26th | v1 |
| Jan 6, 2022 | 2.59% (0.02590) | 54.82th | v1 |
| Sep 1, 2021 | 2.59% (0.02590) | 79.14th | v1 |
| Apr 14, 2021 | 2.59% (0.02590) | 0.00th | v1 |
References (16)
- http://docs.python-requests.org/en/master/community/updates/#release-and-version-history x_refsource_CONFIRMRelease NotesThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2035 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-18074 Vendor Advisory
- https://bugs.debian.org/910766 x_refsource_MISCExploitIssue TrackingPatchThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1643829 Issue Tracking
- https://github.com/advisories/GHSA-x84v-xcm2-53pg Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2018-28.yaml
- https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff x_refsource_MISCPatchThird Party Advisory
- https://github.com/requests/requests/issues/4716 x_refsource_MISCExploitPatchThird Party Advisory
- https://github.com/requests/requests/pull/4718 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-18074
- https://usn.ubuntu.com/3790-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3790-2 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-18074
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
Change history (0)
No recorded changes yet.