{"id":"UBUNTU-CVE-2015-0221","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.","modified":"2026-01-30T01:38:54.437432Z","published":"2015-01-13T00:00:00Z","related":["USN-2469-1"],"upstream":["CVE-2015-0221"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-0221"},{"type":"REPORT","url":"https://www.djangoproject.com/weblog/2015/jan/13/security/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2469-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-0221"}],"affected":[{"package":{"name":"python-django","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python-django@1.6.1-2ubuntu0.6?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-2ubuntu0.6"}]}],"versions":["1.5.4-1ubuntu1","1.6-1","1.6.1-1","1.6.1-2","1.6.1-2ubuntu0.1","1.6.1-2ubuntu0.2","1.6.1-2ubuntu0.3","1.6.1-2ubuntu0.4","1.6.1-2ubuntu0.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.6.1-2ubuntu0.6","binary_name":"python-django"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-0221.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}