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-2024-56374

CVE-2024-56374: Django IPv6 Validation DoS Vulnerability

CVE-2024-56374 is a denial-of-service flaw in Django's IPv6 validation functions that allows attackers to trigger resource exhaustion. This post covers the technical details, affected versions, security impact, and mitigation.

Published: January 28, 2026

CVE-2024-56374 Overview

An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 before 4.2.18. Lack of upper-bound limit enforcement in strings passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and private functions clean_ipv6_address and is_valid_ipv6_address are vulnerable, as is the django.forms.GenericIPAddressField form field. (The django.db.models.GenericIPAddressField model field is not affected.)

Critical Impact

This vulnerability allows remote attackers to cause a denial-of-service condition by sending specially crafted, excessively long strings to IPv6 validation functions in Django applications, potentially exhausting server resources and making applications unresponsive.

Affected Products

  • Django 5.1 before 5.1.5
  • Django 5.0 before 5.0.11
  • Django 4.2 before 4.2.18
  • Debian Linux 11.0

Discovery Timeline

  • 2025-01-14 - Django releases security patches and publishes security advisory
  • 2025-01-14 - CVE CVE-2024-56374 published to NVD
  • 2025-10-03 - Last updated in NVD database

Technical Details for CVE-2024-56374

Vulnerability Analysis

This vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) exists in Django's IPv6 validation functionality. The core issue is the absence of an upper-bound limit on the length of strings accepted by the IPv6 validation functions. When processing IPv6 address strings, the affected functions do not enforce reasonable input length constraints, allowing attackers to submit arbitrarily long strings that consume excessive computational resources during validation.

The vulnerable components include the undocumented private functions clean_ipv6_address and is_valid_ipv6_address, as well as the public django.forms.GenericIPAddressField form field. It's important to note that the django.db.models.GenericIPAddressField model field is NOT affected by this vulnerability.

Root Cause

The root cause is improper resource allocation handling in Django's IPv6 validation logic. The validation functions fail to implement upper-bound checks on input string lengths before processing them. This oversight allows maliciously crafted, excessively long input strings to be processed, consuming disproportionate server resources. The lack of input length validation before performing computationally intensive IPv6 parsing operations creates the denial-of-service condition.

Attack Vector

An attacker can exploit this vulnerability remotely over the network without requiring authentication or user interaction. The attack involves submitting specially crafted, extremely long strings to any Django form field or function that performs IPv6 validation using the affected components. When the application attempts to validate these oversized strings, server resources become exhausted, potentially leading to application unavailability.

The vulnerability is exploited through form submissions to Django applications using GenericIPAddressField or through any code path that calls the private clean_ipv6_address or is_valid_ipv6_address functions with user-controlled input.

Detection Methods for CVE-2024-56374

Indicators of Compromise

  • Unusual spikes in CPU usage on Django application servers during form processing
  • Abnormally long HTTP POST requests targeting forms with IP address fields
  • Application timeouts or unresponsiveness coinciding with form submission activity
  • Log entries showing excessively long string inputs in IP address form fields

Detection Strategies

  • Monitor application performance metrics for sudden resource exhaustion patterns during form processing
  • Implement web application firewall (WAF) rules to detect and block requests with unusually large payloads targeting IP address fields
  • Review application logs for failed validation attempts with exceptionally long input strings
  • Set up alerting for Django application response time degradation

Monitoring Recommendations

  • Configure infrastructure monitoring to alert on abnormal CPU and memory consumption patterns
  • Implement request rate limiting on form submission endpoints
  • Enable detailed logging for form validation failures to capture potential exploitation attempts
  • Monitor network traffic for patterns indicative of denial-of-service attacks targeting web forms

How to Mitigate CVE-2024-56374

Immediate Actions Required

  • Upgrade Django to version 5.1.5, 5.0.11, or 4.2.18 immediately depending on your installed version
  • Audit your Django applications to identify usage of GenericIPAddressField in forms
  • Implement input length validation at the application or WAF level as a temporary measure before patching
  • Review and restrict access to any endpoints accepting IP address input

Patch Information

Django has released security patches addressing this vulnerability:

  • Django 5.1.5 - Patched version for Django 5.1.x series
  • Django 5.0.11 - Patched version for Django 5.0.x series
  • Django 4.2.18 - Patched version for Django 4.2.x LTS series

For detailed patch information, refer to the Django Security Release Notes and the Django Weblog Security Updates. Debian users should consult the Debian LTS Security Announcement.

Workarounds

  • Implement custom input validation to reject IP address strings exceeding reasonable length limits (IPv6 addresses should not exceed 45 characters)
  • Deploy a web application firewall (WAF) with rules to limit input payload sizes for form fields
  • Add rate limiting on form submission endpoints to mitigate resource exhaustion attempts
  • Consider replacing django.forms.GenericIPAddressField with custom form fields that include length validation until patching is complete
bash
# Upgrade Django to patched version
pip install --upgrade Django>=5.1.5

# Verify installed version
python -c "import django; print(django.VERSION)"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechDjangoproject Django

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.60%

  • 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-770
  • Technical References
  • Openwall OSS Security Post

  • Debian LTS Security Announcement
  • Vendor Resources
  • Django Security Release Notes

  • Django Announcement Group

  • Django Weblog Security Updates
  • Related CVEs
  • CVE-2026-25673: Djangoproject Django DoS Vulnerability

  • CVE-2025-64460: Django XML Deserializer DOS Vulnerability

  • CVE-2024-24680: Django intcomma Filter DoS Vulnerability

  • CVE-2024-38875: Django DoS Vulnerability in urlize Functions
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