ADVISORIES

GitHub Advisory Database

GHSA-jhjg-w2cp-5j44

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.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
All versions before 1.4.18 (fixed in 1.4.18)
PyPIdjango
From 1.6 before 1.6.10 (fixed in 1.6.10)
PyPIdjango
From 1.7 before 1.7.3 (fixed in 1.7.3)

References