VDB
KO

PYSEC-2015-6

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / django
Introduced in: 0 Fixed in: 1.4.18
Fix pip install --upgrade 'django>=1.4.18'

References