ADVISORIES

GitHub Advisory Database

GHSA-296w-6qhq-gf92

Django denial of service via file upload naming

Details

The default configuration for the file upload handling system in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 uses a sequential file name generation process when a file with a conflicting name is uploaded, which allows remote attackers to cause a denial of service (CPU consumption) by unloading a multiple files with the same name.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
All versions before 1.4.14 (fixed in 1.4.14)
PyPIdjango
From 1.5 before 1.5.9 (fixed in 1.5.9)
PyPIdjango
From 1.6 before 1.6.6 (fixed in 1.6.6)

References