CriticalGHSA-q7q2-qf2q-rw3wCVE-2014-1418PYSEC-2014-19
Django Vulnerable to Cache Poisoning
Published 17 May 2022 · Updated 28 Nov 2024
Is your project on an affected django?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
djangoPyPI
- Affected
- >=1.4 <1.4.13
- Fixed in
- 1.4.13
Update to the fixed version for your release line, for example:
pip install 'django>=1.4.13'djangoPyPI
- Affected
- >=1.5 <1.5.8
- Fixed in
- 1.5.8
Update to the fixed version for your release line, for example:
pip install 'django>=1.5.8'djangoPyPI
- Affected
- >=1.6 <1.6.5
- Fixed in
- 1.6.5
Update to the fixed version for your release line, for example:
pip install 'django>=1.6.5'djangoPyPI
- Affected
- >=1.7a1 <1.7b4
- Fixed in
- 1.7b4
Update to the fixed version for your release line, for example:
pip install 'django>=1.7b4'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.
Is GHSA-q7q2-qf2q-rw3w in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected django, and gives you the command that fixes it.
More advisories for django
- HighCVE-2026-15307Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing · 4 Aug 2026
- MediumCVE-2026-15830Django GeoDjango vulnerable to denial of service through deeply nested geometry collections · 4 Aug 2026
- MediumCVE-2026-53878Django: DomainNameValidator permits newline characters that may enable HTTP header injection · 7 Jul 2026
- MediumCVE-2026-53877 Django: GDALRaster may over-read heap memory when constructed from bytes · 7 Jul 2026
- LowCVE-2026-48588Django: cache middleware may expose private responses when unrelated request cookies are present · 7 Jul 2026
- LowCVE-2026-8404Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling · 3 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-1418
- Linkgithub.com/django/django/commit/1abcf3a808b35abae5d425ed4d44cb6e886dc769
- Linkgithub.com/django/django/commit/28e23306aa53bbbb8fb87db85f99d970b051026c
- Linkgithub.com/django/django/commit/4001ec8698f577b973c5a540801d8a0bbea1205b
- Packagegithub.com/django/django
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-19.yaml
- Linkwww.djangoproject.com/weblog/2014/may/14/security-releases-issued
- Linklists.opensuse.org/opensuse-updates/2014-09/msg00023.html
- Linkubuntu.com/usn/usn-2212-1
- Linkwww.debian.org/security/2014/dsa-2934
- Linkwww.openwall.com/lists/oss-security/2014/05/14/10
- Linkwww.openwall.com/lists/oss-security/2014/05/15/3
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.