Advisory

GHSA-pgxh-wfw4-jx2v

Also known as: CVE-2015-5963, PYSEC-2015-22

Summary

Django denial of service via empty session record creation

Details

contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session record removal) via a large number of requests to contrib.auth.views.logout, which triggers the creation of an empty session record.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 00:36 UTC
Modified
2025-02-18 05:41 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.8, fixed 1.8.4 (ecosystem)

Fixed versions

1.8.4

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.7, fixed 1.7.10 (ecosystem)

Fixed versions

1.7.10

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.4, fixed 1.4.22 (ecosystem)

Fixed versions

1.4.22

Fix

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

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