Skip to content
OpenAdvisories
High · 7.4 CVE-2014-1418 EUVD-2014-0008GHSA-q7q2-qf2q-rw3wPYSEC-2014-19

Django Vulnerable to Cache Poisoning

Published May 16, 2014 · Updated Aug 6, 2024 · Assigned by canonical

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.6.5-1 —
Debian 13 python-django 1.6.5-1 —
Debian 12 python-django 1.6.5-1 —
Debian 7 python-django 1.4.5-1+deb7u7 DSA-2934-1
Debian 6.0 python-django 1.2.3-3+squeeze10 DSA-2934-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS python-django 1.6.1-2ubuntu0.3 USN-2212-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 1.4, < 1.4.13 1.4.13 GHSA-q7q2-qf2q-rw3w
PyPI django >= 1.5, < 1.5.8 1.5.8 GHSA-q7q2-qf2q-rw3w
PyPI django >= 1.6, < 1.6.5 1.6.5 GHSA-q7q2-qf2q-rw3w
PyPI django >= 1.7a1, < 1.7b4 1.7b4 GHSA-q7q2-qf2q-rw3w
PyPI django >= 1.4, < 1.4.13 · >= 1.5, < 1.5.8 · >= 1.6, < 1.6.5 · >= 1.7a0, < 1.7b4 1.4.13, 1.5.8, 1.6.5, 1.7b4 PYSEC-2014-19

Advisories 2

References