CVE-2014-1418 is a high-severity (CVSS 7.4) vulnerability in django. A fix is available for django — see the affected versions and patch details below.
Django Vulnerable to Cache Poisoning
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
django🐍django🐍django🐍djangoReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | django | ≥ 1.4&&< 1.4.13 | 1.4.13pip install --upgrade 'django==1.4.13' |
| 🐍PyPI | django | ≥ 1.5&&< 1.5.8 | 1.5.8pip install --upgrade 'django==1.5.8' |
| 🐍PyPI | django | ≥ 1.6&&< 1.6.5 | 1.6.5pip install --upgrade 'django==1.6.5' |
| 🐍PyPI | django | ≥ 1.7a1&&< 1.7b4 | 1.7b4pip install --upgrade 'django==1.7b4' |
Affected Products
ubuntu linuxcanonicaldjangodjangoprojectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for django, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update django to 1.4.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2014-1418 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2014-1418 in your dependencies?
Find it across PyPI, including transitive dependencies.