{"id":"CVE-2015-2296","published":"2015-03-18T16:00:00Z","modified":"2024-08-06T05:10:16Z","title":"The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03156,"percentile":0.88277,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2015/03/15/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-March/153594.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:133","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.openwall.com/lists/oss-security/2015/03/14/4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.ubuntu.com/usn/USN-2531-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/kennethreitz/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc","tags":["x_refsource_CONFIRM"]},{"url":"http://advisories.mageia.org/MGASA-2015-0120.html","tags":["x_refsource_CONFIRM"]},{"url":"https://warehouse.python.org/project/requests/2.6.0/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":17.66}]},"affected":[{"ecosystem":"PyPI","package":"requests","vulnerableRanges":[">=2.1.0, <2.6.0"],"patched":["2.6.0"],"from":["GHSA-pg2w-x9wp-vw92","PYSEC-2015-17"],"provenance":"source"}],"summary":{"text":"The resolve_redirects function in sessions.py of the Python requests library is flawed in how it handles cookies during redirects. An attacker positioned to send a redirect to a victim can exploit the handling of a cookie that lacks a host value to conduct a session fixation attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:50Z"},"euvd":{"id":"EUVD-2015-0032","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2014-1829","published":"2014-10-15","fixed":"2.3.0","kev":false,"link":{"from":"CVE-2014-1829","to":"CVE-2015-2296","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:requests","fromFixed":"2.3.0","toFixed":"2.6.0","daysApart":154}]}},{"cve":"CVE-2014-1830","published":"2014-10-15","fixed":"2.3.0","kev":false},{"cve":"CVE-2015-2296","published":"2015-03-18","fixed":"2.6.0","kev":false},{"cve":"CVE-2018-18074","published":"2018-10-09","fixed":"2.20.0","kev":false},{"cve":"CVE-2023-32681","published":"2023-05-26","fixed":"2.31.0","kev":false},{"cve":"CVE-2024-35195","published":"2024-05-20","fixed":"2.32.0","kev":false}],"package":"PyPI:requests"}}