An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before 5.2.19. The `django.middleware.cache.UpdateCacheMiddleware` and...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSpython-django |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSpython-django |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSpython-django |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSpython-django |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSpython-django |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSpython-django |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10python-django |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpython-django |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before 5.2.19. The django.middleware.cache.UpdateCacheMiddleware and the django.views.decorators.cache.cache_page() decorator generate identical cache keys for requests that omit a header listed in the response’s Vary header and requests that include that header with an empty value, potentially allowing remote attackers to access private data cached for another request. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Andrew Gonzalez for reporting this issue.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report djangoproject.com