Advisory

GHSA-pg2w-x9wp-vw92

Also known as: CVE-2015-2296, PYSEC-2015-17

Summary

Python Requests Session Fixation

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:11 UTC
Modified
2024-12-01 05:57 UTC

Affected packages and fixes

requests

PyPI · All systems

Affected

  • introduced 2.1.0, fixed 2.6.0 (ecosystem)

Fixed versions

2.6.0

Fix

  • Fixed version 2.6.0
    pip install --upgrade requests==2.6.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences