Skip to content
OpenAdvisories
Medium CVE-2015-2296 EUVD-2015-0032GHSA-pg2w-x9wp-vw92PYSEC-2015-17

Python Requests Session Fixation

Published Mar 18, 2015 · Updated Aug 6, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
Debian 14 requests 2.4.3-6 —
Debian 13 requests 2.4.3-6 —
Debian 12 requests 2.4.3-6 —
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS requests 2.2.1-1ubuntu0.2 USN-2531-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
PyPI requests >= 2.1.0, < 2.6.0 2.6.0 GHSA-pg2w-x9wp-vw92

Advisories 11

References