GitHub Advisoryadvisory · PyPI
GHSA-89hj-xfx5-7q66 Django Reuses Cached CSRF Token
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2014-0473 advisory
- https://github.com/django/django/commit/1170f285ddd6a94a65f911a27788ba49ca08c0b0 web
- https://github.com/django/django/commit/6872f42757d7ef6a97e0b6ec5db4d2615d8a2bd8 web
- https://github.com/django/django/commit/d63e20942f3024f24cb8cd85a49461ba8a9b6736 web
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-2.yaml web
- https://www.djangoproject.com/weblog/2014/apr/21/security web
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html web
- http://rhn.redhat.com/errata/RHSA-2014-0456.html web
- http://rhn.redhat.com/errata/RHSA-2014-0457.html web
- http://www.debian.org/security/2014/dsa-2934 web
- http://www.ubuntu.com/usn/USN-2169-1 web