Description
The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | requests | 2.4.3-6 | — |
| Debian 13 | requests | 2.4.3-6 | — |
| Debian 12 | requests | 2.4.3-6 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | requests | 2.2.1-1ubuntu0.2 | USN-2531-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | python39-pip | 20.2.4-7.5.1 | SUSE-FU-2021:2130-1 |
| SLES 15 SP3 | python39-setuptools | 44.1.1-7.3.1 | SUSE-FU-2021:2130-1 |
| SLES 12 SP5 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP5 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP5 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP5 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SLES 12 SP4 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP4 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP4 | python-ply | 3.4-3.3.1 | SUSE-RU-2019:2505-1 |
| SLES 12 SP4 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP4 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SLES 12 SP3 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP3 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP3 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP3 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SLES 12 SP2 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP2 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP2 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SLES 12 SP2 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | python-requests | 2.8.1-6.9.1 | SUSE-SU-2016:0114-1 |
| SLES 12 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SLES 12 | python-jmespath | 0.9.2-10.6.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-jsonschema | 2.2.0-3.3.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-paramiko | 1.18.5-2.15.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-pip | 10.0.1-11.6.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-ply | 3.4-3.3.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-requests | 2.8.1-6.9.1 | SUSE-SU-2016:0114-1 |
| SLES 12 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP5 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP5 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP5 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP5 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP4 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP4 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP4 | python-ply | 3.4-3.3.1 | SUSE-RU-2019:2505-1 |
| SLES for SAP 12 SP4 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP4 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP3 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP3 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP3 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP3 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP2 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP2 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP2 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP2 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SLES for SAP 12 SP1 | python-requests | 2.8.1-6.9.1 | SUSE-SU-2016:0114-1 |
| SLES for SAP 12 | python-requests | 2.8.1-6.9.1 | SUSE-SU-2016:0114-1 |
| SUSE OpenStack Cloud Crowbar 8 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud Crowbar 8 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud Crowbar 8 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud Crowbar 8 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud 8 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud 8 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud 8 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud 8 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud 7 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud 7 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud 7 | python-pip | 10.0.1-11.6.1 | SUSE-RU-2019:2505-1 |
| SUSE OpenStack Cloud 7 | python-ply | 3.4-3.3.1 | SUSE-RU-2019:2505-1 |
| SUSE OpenStack Cloud 7 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud 7 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SUSE OpenStack Cloud 5 | python-requests | 2.3.0-9.2 | SUSE-SU-2015:2156-1 |
| SUSE Manager Server 3.2 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SUSE Manager Server 3.2 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SUSE Manager Server 3.2 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SUSE Manager Server 3.2 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SUSE Manager Proxy 3.2 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SUSE Manager Proxy 3.2 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SUSE Manager Proxy 3.2 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SUSE Manager Proxy 3.2 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SUSE HPE Helion OpenStack 8 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SUSE HPE Helion OpenStack 8 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SUSE HPE Helion OpenStack 8 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SUSE HPE Helion OpenStack 8 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SUSE Enterprise Storage 5 | python-certifi | 2018.4.16-3.6.1 | SUSE-SU-2020:1792-1 |
| SUSE Enterprise Storage 5 | python-chardet | 3.0.4-5.6.1 | SUSE-SU-2020:1792-1 |
| SUSE Enterprise Storage 5 | python-urllib3 | 1.22-3.20.1 | SUSE-SU-2020:1792-1 |
| SUSE Enterprise Storage 5 | python3-requests | 2.20.1-5.2 | SUSE-SU-2020:1792-1 |
| SUSE Enterprise Storage 2 | python-requests | 2.8.1-6.9.1 | SUSE-SU-2016:0114-1 |
| SUSE Enterprise Storage 1.0 | python-requests | 2.8.1-6.9.1 | SUSE-SU-2016:0114-1 |
| SUSE Cloud Compute Node for SUSE Linux Enterprise 12 | python-requests | 2.8.1-6.9.1 | SUSE-SU-2016:0114-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-pip | 9.0.1-1.1 | openSUSE-SU-2024:10098-1 |
| openSUSE Tumbleweed | python-requests | 2.11.1-1.1 | openSUSE-SU-2026:12038-1, openSUSE-SU-2024:10125-1 |
| openSUSE Tumbleweed | python2-pip | 20.0.2-2.6 | openSUSE-SU-2024:11281-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | requests | >= 2.1.0, < 2.6.0 | 2.6.0 | GHSA-pg2w-x9wp-vw92 |
Advisories 11
- openSUSE-SU-2026:12038-1 python313-requests-2.34.2-1.2 on GA media SUSE / openSUSE Security Updates · Oct 5, 2026
- WID-SEC-2026-0778 Dell Secure Connect Gateway Policy Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- USN-2531-1 requests vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2015:2156-1 Security update for python-requests SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2019:2505-1 Recommended update for python-jmespath, python-jsonschema, python-paramiko, python-pexpect, python-pip, python-ply, python-pretend, python-process-tests, python-pycodestyle, python-pyflakes, python-pyxdg, python-tabulate, python-vcversioner SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-FU-2021:2130-1 Feature implementation for python39-pip, python39-setuptools SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10098-1 python-pip-8.1.2-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0114-1 Security update for python-requests SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1792-1 Security update for python3-requests SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10125-1 python-requests-2.11.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11281-1 python2-pip-20.0.2-2.6 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- [oss-security] 20150314 Re: CVE Request for python-requests session fixation vulnerability mailing-list
- FEDORA-2015-4084 vendor-advisory
- MDVSA-2015:133 vendor-advisory
- [oss-security] 20150314 CVE Request for python-requests session fixation vulnerability mailing-list
- USN-2531-1 vendor-advisory
- https://github.com/kennethreitz/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc
- http://advisories.mageia.org/MGASA-2015-0120.html
- https://warehouse.python.org/project/requests/2.6.0/