CVE-2023-24580
Django vulnerability analysis and mitigation

Overview

CVE-2023-24580 is a vulnerability discovered in the Multipart Request Parser component of Django versions 3.2 before 3.2.18, 4.0 before 4.0.10, and 4.1 before 4.1.7. The vulnerability was disclosed on February 14, 2023, and affects the file upload functionality in Django's web framework (Django Security, NVD).

Technical details

The vulnerability occurs when processing multipart forms, where certain inputs (particularly those with an excessive number of parts) could trigger resource exhaustion. This could lead to either too many open files or memory exhaustion. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD). The fix implemented involves limiting the number of file parts that can be parsed through a new setting called DATA_UPLOAD_MAX_NUMBER_FILES (Django Security).

Impact

When successfully exploited, this vulnerability can result in a denial-of-service (DoS) condition, affecting the availability of the Django application. The attack requires no user interaction or special privileges, making it particularly concerning for public-facing applications (NetApp Advisory).

Exploitability

The vulnerability is remotely exploitable and requires no authentication or user interaction. It can be triggered by sending specially crafted multipart form data to affected Django applications. The issue has been classified with low attack complexity, indicating relatively straightforward exploitation (NVD).

Mitigation and workarounds

The Django team has released patched versions to address this vulnerability: Django 3.2.18, 4.0.10, and 4.1.7. Users are strongly encouraged to upgrade to these versions immediately. The fix introduces a new setting DATA_UPLOAD_MAX_NUMBER_FILES to limit the number of file parts that can be parsed (Django Security).

Additional resources


SourceThis report was generated using AI

Related Django vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-15830MEDIUM6.9
  • Django logoDjango
  • python-django
NoYesAug 04, 2026
CVE-2026-53877MEDIUM6.3
  • Django logoDjango
  • python-django5
NoYesJul 07, 2026
CVE-2026-53878MEDIUM5.3
  • Django logoDjango
  • python313-Django
NoYesJul 07, 2026
CVE-2026-48588LOW2.3
  • Django logoDjango
  • authentik-2026.2
NoYesJul 07, 2026
CVE-2026-8404LOW2.3
  • Django logoDjango
  • py3-django
NoYesJun 03, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management