{"id":"GHSA-jhjg-w2cp-5j44","summary":"Django DoS in django.views.static.serve","details":"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.","aliases":["CVE-2015-0221","PYSEC-2015-6"],"modified":"2025-02-19T05:29:04.067405Z","published":"2022-05-17T03:20:50Z","database_specific":{"cwe_ids":["CWE-400"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-08-03T19:57:13Z","nvd_published_at":"2015-01-16T16:59:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-0221"},{"type":"WEB","url":"https://github.com/django/django/commit/553779c4055e8742cc832ed525b9ee34b174934f"},{"type":"WEB","url":"https://github.com/django/django/commit/818e59a3f0fbadf6c447754d202d88df025f8f2a"},{"type":"WEB","url":"https://github.com/django/django/commit/d020da6646c5142bc092247d218a3d1ce3e993f7"},{"type":"WEB","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/django/django/blob/9b9c805cedb08621bd5dc58a01a6478eb7cc49a9/docs/releases/1.4.18.txt#L48C1-L49C1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-6.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20150128111656/http://secunia.com/advisories/62285"},{"type":"WEB","url":"https://web.archive.org/web/20150128111656/http://secunia.com/advisories/62309"},{"type":"WEB","url":"https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109"},{"type":"WEB","url":"https://web.archive.org/web/20150523054953/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:036/?name=MDVSA-2015:036"},{"type":"WEB","url":"https://web.archive.org/web/20151104201446/http://secunia.com/advisories/62718"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2015/jan/13/security"},{"type":"WEB","url":"http://advisories.mageia.org/MGASA-2015-0026.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148696.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html"},{"type":"WEB","url":"http://ubuntu.com/usn/usn-2469-1"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.18"}]}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4","1.4.1","1.4.10","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.4.16","1.4.17","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jhjg-w2cp-5j44/GHSA-jhjg-w2cp-5j44.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6"},{"fixed":"1.6.10"}]}],"versions":["1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jhjg-w2cp-5j44/GHSA-jhjg-w2cp-5j44.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7"},{"fixed":"1.7.3"}]}],"versions":["1.7","1.7.1","1.7.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jhjg-w2cp-5j44/GHSA-jhjg-w2cp-5j44.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}