PyPA Advisory Database
PYSEC-2014-2
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | All versions before 1.4.11 (fixed in 1.4.11) From 1.5 before 1.5.6 (fixed in 1.5.6) From 1.6 before 1.6.3 (fixed in 1.6.3) |
References
- https://www.djangoproject.com/weblog/2014/apr/21/security/
- http://www.ubuntu.com/usn/USN-2169-1
- http://rhn.redhat.com/errata/RHSA-2014-0457.html
- http://www.debian.org/security/2014/dsa-2934
- http://rhn.redhat.com/errata/RHSA-2014-0456.html
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html
- http://secunia.com/advisories/61281
- https://github.com/advisories/GHSA-89hj-xfx5-7q66