Debian Security Advisory

DLA-3329-1 python-django -- LTS security update

Date Reported:
20 Feb 2023
Affected Packages:
python-django
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2023-24580.
More information:

It was discovered that there was a denial-of-service vulnerability in Django, a Python-based web development framework.

Passing certain inputs to multipart forms could have resulted in too many open files or memory exhaustion, and provided a potential vector for a denial-of-service attack.

The number of files parts parsed is now limited via a new DATA_UPLOAD_MAX_NUMBER_FILES setting.

  • CVE-2023-24580

    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.

For Debian 10 Buster, this problem has been fixed in version 1:1.11.29-1+deb10u7.

We recommend that you upgrade your python-django packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS