ADVISORIES

GitHub Advisory Database

GHSA-q7q2-qf2q-rw3w

Django Vulnerable to Cache Poisoning

Details

Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly include the (1) Vary: Cookie or (2) Cache-Control header in responses, which allows remote attackers to obtain sensitive information or poison the cache via a request from certain browsers.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
From 1.4 before 1.4.13 (fixed in 1.4.13)
PyPIdjango
From 1.5 before 1.5.8 (fixed in 1.5.8)
PyPIdjango
From 1.6 before 1.6.5 (fixed in 1.6.5)
PyPIdjango
From 1.7a1 before 1.7b4 (fixed in 1.7b4)

References