Advisory

GHSA-x88j-93vc-wpmp

Also known as: CVE-2011-4136, PYSEC-2011-1

Summary

Session manipulation in Django

Details

django.contrib.sessions in Django before 1.2.7 and 1.3.x before 1.3.1, when session data is stored in the cache, uses the root namespace for both session identifiers and application-data keys, which allows remote attackers to modify a session by triggering use of a key that is equal to that session's identifier.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-07-23 19:52 UTC
Modified
2024-09-16 23:21 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.2.7 (ecosystem)

Fixed versions

1.2.7

Fix

  • Fixed version 1.2.7
    pip install --upgrade django==1.2.7

django

PyPI · All systems

Affected

  • introduced 1.3, fixed 1.3.1 (ecosystem)

Fixed versions

1.3.1

Fix

  • Fixed version 1.3.1
    pip install --upgrade django==1.3.1

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