CVE-2015-0221: Django DoS in django.views.static.serve
(updated )
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.
References
- github.com/advisories/GHSA-jhjg-w2cp-5j44
- github.com/django/django
- github.com/django/django/blob/9b9c805cedb08621bd5dc58a01a6478eb7cc49a9/docs/releases/1.4.18.txt
- github.com/django/django/commit/553779c4055e8742cc832ed525b9ee34b174934f
- github.com/django/django/commit/818e59a3f0fbadf6c447754d202d88df025f8f2a
- github.com/django/django/commit/d020da6646c5142bc092247d218a3d1ce3e993f7
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-6.yaml
- nvd.nist.gov/vuln/detail/CVE-2015-0221
- web.archive.org/web/20150128111656/http://secunia.com/advisories/62285
- web.archive.org/web/20150128111656/http://secunia.com/advisories/62309
- web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109
- web.archive.org/web/20150523054953/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:036/?name=MDVSA-2015:036
- web.archive.org/web/20151104201446/http://secunia.com/advisories/62718
- www.djangoproject.com/weblog/2015/jan/13/security
Detect and mitigate CVE-2015-0221 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →