ADVISORIES

GitHub Advisory Database

GHSA-2hrw-hx67-34x6

Resource exhaustion in Django

Details

An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0 before 4.0.10, and 4.1 before 4.1.7. Passing certain inputs (e.g., an excessive number of parts) to multipart forms could result in too many open files or memory exhaustion, and provided a potential vector for a denial-of-service attack.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
From 3.2a1 before 3.2.18 (fixed in 3.2.18)
PyPIdjango
From 4.1a1 before 4.1.7 (fixed in 4.1.7)
PyPIdjango
From 4.0a1 before 4.0.10 (fixed in 4.0.10)

References