Advisory

PYSEC-2014-2

Also known as: CVE-2014-0473, GHSA-89hj-xfx5-7q66

Summary

The record has no summary.

Details

The caching framework in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 reuses a cached CSRF token for all anonymous users, which allows remote attackers to bypass CSRF protections by reading the CSRF cookie for anonymous users.

Severity

Not rated by the source.

Dates

Published
2014-04-23 15:55 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.11, introduced 1.5, fixed 1.5.6, introduced 1.6, fixed 1.6.3 (ecosystem)

Fixed versions

1.4.11, 1.5.6, 1.6.3

Fix

  • Fixed version 1.4.11
    pip install --upgrade django==1.4.11
  • Fixed version 1.5.6
    pip install --upgrade django==1.5.6
  • Fixed version 1.6.3
    pip install --upgrade django==1.6.3

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: PyPA Advisory Database · CC BY 4.0

Sources & licences