Bug 913056 (CVE-2015-0221) - VUL-1: CVE-2015-0221: python-django: denial of service attack against django.views.static.serve
Summary: VUL-1: CVE-2015-0221: python-django: denial of service attack against django....
Status: RESOLVED FIXED
Alias: CVE-2015-0221
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Minor
Target Milestone: ---
Deadline: 2015-03-19
Assignee: Bernhard Wiedemann
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/112322/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-14 09:50 UTC by Victor Pereira
Modified: 2015-09-22 09:12 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Pereira 2015-01-14 09:50:53 UTC
CVE-2015-0221

In older versions of Django, the ``django.views.static.serve()`` view read the files it served one line at a time. Therefore, a big file with no newlines would result in memory usage equal to the size of that file. An attacker could exploit this and launch a denial-of-service attack by simultaneously requesting many large files. This view now reads the file in chunks to prevent large memory usage.

Note, however, that this view has always carried a warning that it is not hardened for production use and should be used only as a development aid. Now may be a good time to audit your project and serve your files in production using a real front-end web server if you are not doing so.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1179679
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0221
http://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-0221.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0221
Comment 1 Swamp Workflow Management 2015-01-14 23:01:24 UTC
bugbot adjusting priority
Comment 4 Swamp Workflow Management 2015-02-19 12:21:08 UTC
An update workflow for this issue was started.
This issue was rated as low.
Please submit fixed packages until 2015-03-19.
When done, reassign the bug to security-team@suse.de.
https://swamp.suse.de/webswamp/wf/60743
Comment 7 Swamp Workflow Management 2015-03-20 23:06:53 UTC
SUSE-SU-2015:0563-1: An update that solves four vulnerabilities and has one errata is now available.

Category: security (low)
Bug References: 913053,913054,913055,913056,914706
CVE References: CVE-2015-0219,CVE-2015-0220,CVE-2015-0221,CVE-2015-0222
Sources used:
SUSE Cloud 4 (src):    python-django-1.5.12-0.7.1
Comment 8 Bernhard Wiedemann 2015-03-24 17:00:18 UTC
This is an autogenerated message for OBS integration:
This bug (913056) was mentioned in
https://build.opensuse.org/request/show/292722 13.2 / python-Django
Comment 10 Swamp Workflow Management 2015-04-01 16:05:23 UTC
openSUSE-SU-2015:0643-1: An update that fixes 5 vulnerabilities is now available.

Category: security (moderate)
Bug References: 913053,913055,913056,923172,923176
CVE References: CVE-2015-0219,CVE-2015-0221,CVE-2015-0222,CVE-2015-2316,CVE-2015-2317
Sources used:
openSUSE 13.2 (src):    python-Django-1.6.11-3.4.1
Comment 11 Swamp Workflow Management 2015-06-23 14:05:49 UTC
SUSE-SU-2015:1109-1: An update that fixes 5 vulnerabilities is now available.

Category: security (moderate)
Bug References: 913053,913055,913056,923172,923176
CVE References: CVE-2015-0219,CVE-2015-0221,CVE-2015-0222,CVE-2015-2316,CVE-2015-2317
Sources used:
SUSE Enterprise Storage 1.0 (src):    python-Django-1.6.11-4.1
Comment 12 Swamp Workflow Management 2015-06-23 14:07:09 UTC
SUSE-SU-2015:1112-1: An update that fixes 5 vulnerabilities is now available.

Category: security (moderate)
Bug References: 913053,913055,913056,923172,923176
CVE References: CVE-2015-0219,CVE-2015-0221,CVE-2015-0222,CVE-2015-2316,CVE-2015-2317
Sources used:
SUSE Enterprise Storage 1.0 (src):    python-Django-1.6.11-4.1
Comment 13 Andreas Stieger 2015-07-10 09:44:12 UTC
All show as released.
Comment 14 Bernhard Wiedemann 2015-09-09 12:00:40 UTC
This is an autogenerated message for OBS integration:
This bug (913056) was mentioned in
https://build.opensuse.org/request/show/330037 13.1 / python-django
Comment 15 Bernhard Wiedemann 2015-09-09 14:00:24 UTC
This is an autogenerated message for OBS integration:
This bug (913056) was mentioned in
https://build.opensuse.org/request/show/330056 13.1 / python-django
Comment 16 Swamp Workflow Management 2015-09-22 09:12:29 UTC
openSUSE-SU-2015:1598-1: An update that solves 6 vulnerabilities and has one errata is now available.

Category: security (moderate)
Bug References: 913053,913054,913055,913056,914706,923176,941587
CVE References: CVE-2015-0219,CVE-2015-0220,CVE-2015-0221,CVE-2015-0222,CVE-2015-2317,CVE-2015-5963
Sources used:
openSUSE 13.1 (src):    python-django-1.5.12-0.2.11.1