CVE-2015-0221
Django: denial of service attack against django.views.static.serve
Overview
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.
Source: OX vulnerability database
Severity
7.5 · MEDIUM
CVSS 3.1 base score, scored by GitHub.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-399
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | django | <1.4.18>=1.6, <1.6.10>=1.7, <1.7.3 | 1.4.181.6.101.7.3 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
fixed 4
python-django
| Release | Package | Fixed in |
|---|---|---|
| 11 | python-django | 1.7.1-1.1 |
| 12 | python-django | 1.7.1-1.1 |
| 13 | python-django | 1.7.1-1.1 |
| 14 | python-django | 1.7.1-1.1 |
echo 1 release · 1 package
fixed 1
python-django
| Release | Package | Fixed in |
|---|---|---|
| python-django | 1.7.1-1.1 |
References
- advisories.mageia.org http://advisories.mageia.org/MGASA-2015-0026.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148696.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html
- secunia.com http://secunia.com/advisories/62285
- secunia.com http://secunia.com/advisories/62309
- secunia.com http://secunia.com/advisories/62718
- ubuntu.com http://ubuntu.com/usn/usn-2469-1
Show all 29 references
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2015:036
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2015:109
- access.redhat.com https://access.redhat.com/security/cve/CVE-2015-0221
- github.com https://github.com/django/django
- github.com https://github.com/django/django/blob/9b9c805cedb08621bd5dc58a01a6478eb7cc49a9/docs/releases/1.4.18.txt#L48C1-L49C1
- github.com https://github.com/django/django/commit/553779c4055e8742cc832ed525b9ee34b174934f
- github.com https://github.com/django/django/commit/818e59a3f0fbadf6c447754d202d88df025f8f2a
- github.com https://github.com/django/django/commit/d020da6646c5142bc092247d218a3d1ce3e993f7
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-6.yaml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2015-0221
- ubuntu.com https://ubuntu.com/security/notices/USN-2469-1
- web.archive.org https://web.archive.org/web/20150128111656/http://secunia.com/advisories/62285
- web.archive.org https://web.archive.org/web/20150128111656/http://secunia.com/advisories/62309
- web.archive.org https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109
- web.archive.org https://web.archive.org/web/20150523054953/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:036/?name=MDVSA-2015:036
- web.archive.org https://web.archive.org/web/20151104201446/http://secunia.com/advisories/62718
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2015-0221
- www.djangoproject.com https://www.djangoproject.com/weblog/2015/jan/13/security
- www.djangoproject.com https://www.djangoproject.com/weblog/2015/jan/13/security/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.