—
PYSEC-2015-17
Quick fix
PYSEC-2015-17 — requests: upgrade to the fixed version with the command below.
pip install --upgrade 'requests>=3bd8afbff29e50b38f889b2f688785a669b9aafc'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/requests
Introduced in:
0Fixed in: 3bd8afbff29e50b38f889b2f688785a669b9aafcFix
pip install --upgrade 'requests>=3bd8afbff29e50b38f889b2f688785a669b9aafc'References
- http://www.openwall.com/lists/oss-security/2015/03/15/1[WEB]
- http://www.ubuntu.com/usn/USN-2531-1[ADVISORY]
- http://www.openwall.com/lists/oss-security/2015/03/14/4[WEB]
- https://github.com/kennethreitz/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc[FIX]
- https://warehouse.python.org/project/requests/2.6.0/[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/153594.html[WEB]
- http://advisories.mageia.org/MGASA-2015-0120.html[ADVISORY]
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:133[ADVISORY]
- https://github.com/advisories/GHSA-pg2w-x9wp-vw92[ADVISORY]