Skip to content
OpenAdvisories
High · 7.5 CVE-2014-0473 EUVD-2014-0009GHSA-89hj-xfx5-7q66PYSEC-2014-2

Django Reuses Cached CSRF Token

Published Apr 23, 2014 · Updated Aug 6, 2024 · Assigned by debian

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.6.3-1 —
Debian 13 python-django 1.6.3-1 —
Debian 12 python-django 1.6.3-1 —
Debian 7 python-django 1.4.5-1+deb7u7 DSA-2934-1
Debian 6.0 python-django 1.2.3-3+squeeze10 DSA-2934-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS python-django 1.6.1-2ubuntu0.1 USN-2169-1
ReleasePackageFixed inAdvisory
Red Hat OpenStack 4 Django14 +1 1.4.11-1.el6ost RHSA-2014:0456
Red Hat OpenStack 3 Django14 +1 1.4.11-1.el6ost RHSA-2014:0457

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django < 1.4.11 1.4.11 GHSA-89hj-xfx5-7q66
PyPI django >= 1.5, < 1.5.6 1.5.6 GHSA-89hj-xfx5-7q66
PyPI django >= 1.6, < 1.6.3 1.6.3 GHSA-89hj-xfx5-7q66
PyPI django < 1.4.11 · >= 1.5, < 1.5.6 · >= 1.6, < 1.6.3 1.4.11, 1.5.6, 1.6.3 PYSEC-2014-2

Advisories 4

References