CVE-2015-2296: Python Requests Session Fixation

CVE-2015-2296 · Severity: info · Published 2015-03-18

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.

Technologies: requests (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2015-2296 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2015-2296 being exploited in the wild.
How severe is CVE-2015-2296?
Informational severity, published 18 March 2015.
Which products and versions are affected?
requests (PyPI) ECOSYSTEM:introduced=2.1.0,fixed=2.6.0, GIT:introduced=0,fixed=3bd8afbff29e50b38f889b2f688785a669b9aafc|ECOSYSTEM:introduced=2.1.0,fixed=2.6.0.
Is there a fix for CVE-2015-2296?
Yes. requests (PyPI): upgrade to 2.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2015-2296?
Check whether you run requests (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • requests (PyPI): upgrade to 2.6.0 or later
    pip install "requests>=2.6.0"

Affected products

  • requests (PyPI) ECOSYSTEM:introduced=2.1.0,fixed=2.6.0, GIT:introduced=0,fixed=3bd8afbff29e50b38f889b2f688785a669b9aafc|ECOSYSTEM:introduced=2.1.0,fixed=2.6.0

Identifiers

  • CVE-2015-2296
  • GHSA-pg2w-x9wp-vw92
  • PYSEC-2015-17

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.