Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-24580

CVE-2023-24580: Django Multipart Parser DoS Vulnerability

CVE-2023-24580 is a denial-of-service flaw in Django's Multipart Request Parser that allows attackers to exhaust system resources through excessive form parts. This article covers technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2023-24580 Overview

A denial-of-service vulnerability was discovered in the Multipart Request Parser component of Django, a popular Python web framework. The vulnerability exists in Django versions 3.2 before 3.2.18, 4.0 before 4.0.10, and 4.1 before 4.1.7. Attackers can exploit this flaw by sending maliciously crafted multipart form requests containing an excessive number of parts, which can result in resource exhaustion through too many open files or memory depletion.

Critical Impact

This vulnerability enables unauthenticated remote attackers to cause denial-of-service conditions on Django-based web applications by exhausting server resources through crafted multipart form submissions.

Affected Products

  • Django 3.2 (versions before 3.2.18)
  • Django 4.0 (versions before 4.0.10)
  • Django 4.1 (versions before 4.1.7)
  • Debian Linux 10.0

Discovery Timeline

  • 2023-02-14 - Django Project releases security patches
  • 2023-02-15 - CVE CVE-2023-24580 published to NVD
  • 2025-03-18 - Last updated in NVD database

Technical Details for CVE-2023-24580

Vulnerability Analysis

This vulnerability (CWE-400: Uncontrolled Resource Consumption) exists in Django's Multipart Request Parser, which handles file uploads and multipart form data submissions. The parser fails to properly limit the number of parts that can be processed in a single multipart request. When an attacker submits a request with an excessive number of parts, the parser attempts to process all of them, consuming server resources without adequate restrictions.

The impact of successful exploitation includes server resource exhaustion through either file descriptor depletion (too many open files) or memory exhaustion. This can render the affected Django application unresponsive, denying service to legitimate users. The attack can be executed remotely over the network without authentication, as it targets the HTTP request parsing layer before any application-level authentication occurs.

Root Cause

The root cause lies in insufficient input validation and resource management within Django's multipart form handling code. The Multipart Request Parser did not enforce adequate limits on the number of parts that could be submitted in a single request. This allows attackers to craft requests with thousands or millions of boundary parts, each of which the parser attempts to handle, leading to resource exhaustion.

Attack Vector

The attack is network-based and can be executed by any unauthenticated remote attacker who can send HTTP requests to the vulnerable Django application. The attacker crafts a multipart/form-data POST request with an abnormally high number of boundary parts. When the Django server receives this request, the Multipart Request Parser processes each part sequentially, opening file handles or allocating memory for each, eventually exhausting system resources.

The vulnerability mechanism involves sending malformed multipart requests to any Django endpoint that processes form submissions. Attackers can craft HTTP POST requests with the Content-Type: multipart/form-data header and include thousands of boundary delimiters. Each boundary triggers the parser to allocate resources, and without proper limits, the accumulated resource usage causes system exhaustion. For detailed technical analysis, refer to the Django Security Release announcement and the OpenWall OSS Security Notice.

Detection Methods for CVE-2023-24580

Indicators of Compromise

  • Unusually high number of open file descriptors on web server processes
  • Memory consumption spikes on Django application servers during multipart form submissions
  • Web server error logs showing "Too many open files" or memory allocation failures
  • Abnormally large HTTP POST requests with Content-Type: multipart/form-data

Detection Strategies

  • Monitor for HTTP POST requests with multipart/form-data content type that have unusually large Content-Length headers or high part counts
  • Implement rate limiting on endpoints that accept file uploads or multipart form submissions
  • Configure web application firewalls (WAF) to detect and block requests with excessive boundary delimiters
  • Review Django application logs for repeated parsing errors or timeout conditions

Monitoring Recommendations

  • Set up alerts for abnormal file descriptor usage on application servers running Django
  • Monitor system memory utilization and set thresholds for Django worker processes
  • Implement request logging at the reverse proxy or load balancer level to capture multipart request characteristics
  • Enable Django's logging for request parsing to identify potential exploitation attempts

How to Mitigate CVE-2023-24580

Immediate Actions Required

  • Upgrade Django to patched versions: 3.2.18, 4.0.10, or 4.1.7 or later
  • Implement rate limiting at the web server or load balancer level for POST requests
  • Configure request body size limits at the reverse proxy (nginx, Apache) level
  • Review and limit the DATA_UPLOAD_MAX_NUMBER_FIELDS Django setting

Patch Information

Security patches have been released by the Django Project. Affected users should upgrade to the following versions:

  • Django 3.2.x users: Upgrade to 3.2.18 or later
  • Django 4.0.x users: Upgrade to 4.0.10 or later
  • Django 4.1.x users: Upgrade to 4.1.7 or later

Detailed patch information is available in the Django 4.1 Security Release Notes and the official Django Weblog Security Release. Debian users should also apply updates per the Debian LTS Announcement.

Workarounds

  • If immediate patching is not possible, implement strict request size limits at the web server or reverse proxy level
  • Configure DATA_UPLOAD_MAX_MEMORY_SIZE and DATA_UPLOAD_MAX_NUMBER_FIELDS to restrictive values
  • Use a web application firewall to inspect and limit multipart request complexity
  • Consider temporarily disabling file upload functionality on critical endpoints until patches can be applied
bash
# Django settings.py configuration to limit multipart requests
# Add to your settings.py:
# DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440  # 2.5 MB
# DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000   # Maximum number of form fields

# Nginx configuration to limit request body size
# Add to server or location block:
# client_max_body_size 10m;
# client_body_buffer_size 128k;

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechDjango

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability24.51%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • OpenWall OSS Security Notice

  • Django Announce Forum

  • Debian LTS Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory
  • Vendor Resources
  • Django 4.1 Security Release Notes

  • Django Weblog Security Release
  • Related CVEs
  • CVE-2026-33034: Django DOS Vulnerability

  • CVE-2026-33033: Django MultiPartParser DOS Vulnerability

  • CVE-2025-14550: Django ASGIRequest DOS Vulnerability

  • CVE-2026-1285: Djangoproject Django DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English