GitHub Advisoryadvisory · PyPI

GHSA-89hj-xfx5-7q66 Django Reuses Cached CSRF Token

HIGH Published 2022-05-17 Modified 2025-04-13 Official page ↗
Aliases
CVE-2014-0473
Ecosystem
PyPI
Packages
Django
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-200
Reviewed
2023-08-16

Affected packages

• PyPI Django: < 1.4.11 → fixed in 1.4.11 • PyPI Django: >= 1.5, < 1.5.6 → fixed in 1.5.6 • PyPI Django: >= 1.6, < 1.6.3 → fixed in 1.6.3

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.

Related

Alias · CVE (1)

  • CVE-2014-0473 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… vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References