CVE-2015-0221
MEDIUM 5.0CVSS 2.0Django DoS in django.views.static.serve
The django.views.static.serve view in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 reads files an entire line at a time, which allows remote attackers to cause a denial of service (memory consumption) via a long line in a file.
- Published
- 16 Jan 2015
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-399CWE-400
- Also known as
- GHSA-jhjg-w2cp-5j44PYSEC-2015-6
- Sources
- NVDJSONOSV GHSA-jhjg-w2cp-5j44JSONOSV PYSEC-2015-6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
<= 1.4.17 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6:*:*:*:*:*:*:* |
= 1.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:* |
= 1.6.1 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:* |
= 1.6.2 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.3:*:*:*:*:*:*:* |
= 1.6.3 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.4:*:*:*:*:*:*:* |
= 1.6.4 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.5:*:*:*:*:*:*:* |
= 1.6.5 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.6:*:*:*:*:*:*:* |
= 1.6.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.7:*:*:*:*:*:*:* |
= 1.6.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.8:*:*:*:*:*:*:* |
= 1.6.8 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.9:*:*:*:*:*:*:* |
= 1.6.9 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:*:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7.1:*:*:*:*:*:*:* |
= 1.7.1 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7.2:*:*:*:*:*:*:* |
= 1.7.2 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:10.04:*:lts:*:*:*:*:* |
= 10.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:lts:*:*:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* |
= 14.10 | |
| OSV | PyPI | django | < 1.4.18 | 1.4.18 |
| OSV | PyPI | django | >= 1.6, < 1.6.10 | 1.6.10 |
| OSV | PyPI | django | >= 1.7, < 1.7.3 | 1.7.3 |
| OSV | PyPI | django | < 1.4.18; >= 1.5, < 1.6.10; >= 1.7, < 1.7.3 | 1.4.18, 1.6.10, 1.7.3 |
References
- http://advisories.mageia.org/MGASA-2015-0026.html · WEB, ADVISORY
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html · WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html · WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148696.html · WEB
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html · WEB
- http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html · WEB
- http://secunia.com/advisories/62285 · ADVISORY
- http://secunia.com/advisories/62309 · ADVISORY
- http://secunia.com/advisories/62718 · ADVISORY
- http://ubuntu.com/usn/usn-2469-1 · Patch, Vendor Advisory, WEB
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:036 · ADVISORY
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:109 · ADVISORY
- https://www.djangoproject.com/weblog/2015/jan/13/security/ · Exploit, Patch, Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2015-0221 · ADVISORY
- https://github.com/django/django/commit/553779c4055e8742cc832ed525b9ee34b174934f · WEB
- https://github.com/django/django/commit/818e59a3f0fbadf6c447754d202d88df025f8f2a · WEB
- https://github.com/django/django/commit/d020da6646c5142bc092247d218a3d1ce3e993f7 · WEB
- https://github.com/django/django · WEB
- https://github.com/django/django/blob/9b9c805cedb08621bd5dc58a01a6478eb7cc49a9/docs/releases/1.4.18.txt#L48C1-L49C1 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-6.yaml · WEB
- https://web.archive.org/web/20150128111656/http://secunia.com/advisories/62285 · WEB
- https://web.archive.org/web/20150128111656/http://secunia.com/advisories/62309 · WEB
- https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109 · WEB
- https://web.archive.org/web/20150523054953/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:036/?name=MDVSA-2015:036 · WEB
- https://web.archive.org/web/20151104201446/http://secunia.com/advisories/62718 · WEB
- https://github.com/advisories/GHSA-jhjg-w2cp-5j44 · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 16 Jan 2015)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Jan 2015)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)