Live threats

All CVEs / Djangoproject

CVE-2014-0473Djangoproject Django

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Apr 23, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django < 1.4.11 1.4.11 pip install "django>=1.4.11"
PyPI django ≥ 1.5 < 1.5.6 1.5.6 pip install "django>=1.5.6"
PyPI django ≥ 1.6 < 1.6.3 1.6.3 pip install "django>=1.6.3"
PyPI django < 1.4.11 1.4.11 pip install "django>=1.4.11"
PyPI django ≥ 1.5 < 1.5.6 1.5.6 pip install "django>=1.5.6"
PyPI django ≥ 1.6 < 1.6.3 1.6.3 pip install "django>=1.6.3"

Per OSV / GitHub Advisories (GHSA-89hj-xfx5-7q66, PYSEC-2014-2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango1.5
djangoprojectdjango1.5.1
djangoprojectdjango1.5.2
djangoprojectdjango1.5.3
djangoprojectdjango1.5.4
djangoprojectdjango1.5.5
djangoprojectdjango1.6
djangoprojectdjango1.6.1
djangoprojectdjango1.6.2
djangoprojectdjango1.7
djangoprojectdjango1.7
djangoprojectdjango1.7
djangoprojectdjango≤ 1.4.10
djangoprojectdjango1.4
djangoprojectdjango1.4.1
djangoprojectdjango1.4.2
djangoprojectdjango1.4.3
djangoprojectdjango1.4.4
djangoprojectdjango1.4.5
djangoprojectdjango1.4.6
djangoprojectdjango1.4.7
djangoprojectdjango1.4.8
djangoprojectdjango1.4.9
canonicalubuntu_linux10.04
canonicalubuntu_linux12.04
canonicalubuntu_linux12.10
canonicalubuntu_linux13.10
canonicalubuntu_linux14.04

Official sources

References

Links published by the sources. Open them with care.