CVE-2015-0221
HIGH7.5EPSS 7.8%Django DoS in django.views.static.serve
Published: 5/17/2022Modified: 4/28/2026
Description
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.
Affected packages (3)
- Debian/python-djangofrom 0, < 1.7.1-1.1
- PyPI/djangofrom 0, < 1.4.18
- PyPI/djangofrom 0, < 1.4.18, >= 1.5, < 1.6.10, >= 1.7, < 1.7.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (27)
- ADVISORYhttp://secunia.com/advisories/62285
- ADVISORYhttp://secunia.com/advisories/62309
- ADVISORYhttp://secunia.com/advisories/62718
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2015-0221
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2015-0221
- ADVISORYhttps://www.djangoproject.com/weblog/2015/jan/13/security/
- ADVISORYhttp://www.mandriva.com/security/advisories?name=MDVSA-2015:036
- ADVISORYhttp://www.mandriva.com/security/advisories?name=MDVSA-2015:109
- WEBhttp://advisories.mageia.org/MGASA-2015-0026.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/148696.html
- WEBhttp://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html
- WEBhttp://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html
- WEBhttps://github.com/django/django
- WEBhttps://github.com/django/django/blob/9b9c805cedb08621bd5dc58a01a6478eb7cc49a9/docs/releases/1.4.18.txt#L48C1-L49C1
- WEBhttps://github.com/django/django/commit/553779c4055e8742cc832ed525b9ee34b174934f
- WEBhttps://github.com/django/django/commit/818e59a3f0fbadf6c447754d202d88df025f8f2a
- WEBhttps://github.com/django/django/commit/d020da6646c5142bc092247d218a3d1ce3e993f7
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-6.yaml
- WEBhttps://web.archive.org/web/20150128111656/http://secunia.com/advisories/62285
- WEBhttps://web.archive.org/web/20150128111656/http://secunia.com/advisories/62309
- WEBhttps://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109
- WEBhttps://web.archive.org/web/20150523054953/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:036/?name=MDVSA-2015:036
- WEBhttps://web.archive.org/web/20151104201446/http://secunia.com/advisories/62718
- WEBhttps://www.djangoproject.com/weblog/2015/jan/13/security
- WEBhttp://ubuntu.com/usn/usn-2469-1