Technical impact
The vulnerability arises from the Django cache middleware and page decorator generating 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. This key collision allows a remote attacker to retrieve data that has been cached for a different request, potentially exposing private information stored in the cache. The weakness is an instance of information disclosure (CWE-524).
Affected Systems
Django releases 6.1 prior to 6.1.3, 6.0 prior to 6.0.10, and 5.2 prior to 5.2.19 are affected. Unsupported earlier series such as 5.1.x, 5.0.x, and 4.2.x may also be vulnerable.
Risk and Exploitability
The CVSS score is 2.3, indicating low severity, and the EPSS score is currently unavailable, while the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is through crafted HTTP requests sent to a server running one of the affected Django versions that employ the cache middleware or cache_page decorator. By sending requests that omit or empty a Vary header, an attacker can manipulate the cache key and access cached data belonging to another user.
Debian DLA