CVE-2023-24580
Resource exhaustion in Django
Reported by mitre · Published February 15, 2023
django is fixed in 4.1.7, 4.0.10 and 3.2.18 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| django | PyPI | 4.1.7, 4.0.10, 3.2.18 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | Django | 3.2a1, 4.1a1, 4.0a1 |
| alpine | py3-django | 0 |
Timeline
- Feb 15, 2023 CVE Published
- Feb 15, 2023 EPSS Score (30 in total, the first dated here)
- Mar 20, 2023 PoC Published (2 in total, the first dated here)
- Mar 10, 2026 Security Advisory (14 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-24580
vulnetix vdb fixes CVE-2023-24580
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-24580/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20230220 [SECURITY] [DLA 3329-1] python-django security update mailing-list
- FEDORA-2023-3d775d93be vendor-advisory
- FEDORA-2023-bde7913e5a vendor-advisory
- FEDORA-2023-a74513bda8 vendor-advisory
- FEDORA-2023-8fed428c5e vendor-advisory
- FEDORA-2023-a53ab7c969 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-24580 advisory
- https://github.com/advisories/GHSA-2hrw-hx67-34x6 advisory
- https://github.com/django/django/commit/628b33a854a9c68ec8a0c51f382f304a0044ec92 patch
- https://github.com/django/django/commit/83f1ea83e4553e211c1c5a0dfc197b66d4e50432 patch
- https://github.com/django/django/commit/a665ed5179f5bbd3db95ce67286d0192eff041d8 patch
- https://www.djangoproject.com/weblog/2023/feb/14/security-releases url
- https://security.netapp.com/advisory/ntap-20230316-0006 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YJB6FUBBLVKKG655UMTLQNN6UQ6EDLSP url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VZS4G6NSZWPTVXMMZHJOJVQEPL3QTO77 url
…and 12 more