Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. requests
  4. ›
  5. CVE-2015-2296

CVE-2015-2296: Python Requests Session Fixation

May 13, 2022 (updated October 21, 2024)

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.

References

  • github.com/advisories/GHSA-pg2w-x9wp-vw92
  • github.com/kennethreitz/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc
  • github.com/psf/requests
  • github.com/psf/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc
  • github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2015-17.yaml
  • nvd.nist.gov/vuln/detail/CVE-2015-2296
  • warehouse.python.org/project/requests/2.6.0

Code Behaviors & Features

Detect and mitigate CVE-2015-2296 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.1.0 before 2.6.0

Fixed versions

  • 2.6.0

Solution

Upgrade to version 2.6.0 or above.

Impact 6.8 MEDIUM

AV:N/AC:M/Au:N/C:P/I:P/A:P

Learn more about CVSS

Source file

pypi/requests/CVE-2015-2296.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:04 +0000.