The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-41164

CVE-2023-41164: Django DoS Vulnerability in URI Encoding

CVE-2023-41164 is a denial of service vulnerability in Djangoproject Django affecting the uri_to_iri() function when processing inputs with excessive Unicode characters. This article covers technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-41164 Overview

CVE-2023-41164 is a Denial of Service (DoS) vulnerability affecting the Django web framework. The vulnerability exists in the django.utils.encoding.uri_to_iri() function, which is susceptible to resource exhaustion attacks when processing inputs containing a very large number of Unicode characters. This can allow remote attackers to cause service disruption without requiring authentication.

Critical Impact

Remote attackers can exploit this vulnerability to cause denial of service conditions on Django-powered web applications by sending specially crafted requests with excessive Unicode characters, potentially rendering services unavailable to legitimate users.

Affected Products

  • Django 3.2 before 3.2.21
  • Django 4.1 before 4.1.11
  • Django 4.2 before 4.2.5
  • Fedora 39 (bundled Django packages)

Discovery Timeline

  • 2023-09-04 - Django Project releases security patches
  • 2023-11-03 - CVE CVE-2023-41164 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2023-41164

Vulnerability Analysis

This vulnerability is classified under CWE-1284 (Improper Validation of Specified Quantity in Input). The uri_to_iri() function in Django's encoding utilities is designed to convert a Uniform Resource Identifier (URI) to an Internationalized Resource Identifier (IRI) by handling percent-encoded characters and Unicode normalization.

The flaw occurs when this function receives input containing an extremely large number of Unicode characters. The function's processing algorithm does not properly limit or validate the quantity of Unicode characters it attempts to process, leading to excessive CPU consumption and memory allocation. This algorithmic complexity issue allows attackers to craft malicious inputs that cause disproportionate resource consumption relative to the input size.

Root Cause

The root cause of this vulnerability lies in the improper validation of input quantity within the uri_to_iri() function. When processing URIs, the function iterates through Unicode characters without adequate bounds checking or resource limits. This allows specially crafted inputs with massive Unicode character sequences to trigger computationally expensive operations, consuming server resources and potentially causing the application to become unresponsive.

Attack Vector

The attack can be executed remotely over the network without authentication. An attacker can send HTTP requests containing URIs with a very large number of Unicode characters to any endpoint that processes URLs through Django's encoding utilities. The attack requires no user interaction and can be executed with low complexity.

Common attack scenarios include:

  • Sending malformed URLs with excessive Unicode characters in query parameters
  • Crafting requests with encoded Unicode sequences that expand dramatically during IRI conversion
  • Targeting endpoints that perform URL normalization or redirect operations

Since no verified code examples are available for this vulnerability, administrators should refer to the Django Security Release Notes for detailed technical information about the vulnerability mechanism and the specific code changes implemented in the patches.

Detection Methods for CVE-2023-41164

Indicators of Compromise

  • Unusual spikes in CPU utilization on Django application servers
  • HTTP requests containing abnormally long URLs or query strings with extensive Unicode character sequences
  • Application timeouts or slow response times correlating with specific request patterns
  • Web server access logs showing requests with unusually large URI lengths

Detection Strategies

  • Monitor web application firewall (WAF) logs for requests with excessive URL lengths or Unicode character counts
  • Implement rate limiting rules that flag or block requests exceeding reasonable URI length thresholds
  • Deploy application performance monitoring (APM) to detect resource exhaustion patterns in Django processes
  • Configure intrusion detection systems to alert on repeated requests with anomalous Unicode content

Monitoring Recommendations

  • Set up alerts for Django worker processes exceeding CPU or memory thresholds
  • Monitor request latency metrics for sudden degradation patterns
  • Track HTTP 503 error rates that may indicate service unavailability due to resource exhaustion
  • Implement logging for requests that trigger the uri_to_iri() function with character counts exceeding normal operational thresholds

How to Mitigate CVE-2023-41164

Immediate Actions Required

  • Upgrade Django to patched versions: 3.2.21, 4.1.11, or 4.2.5 or later immediately
  • If immediate patching is not possible, implement WAF rules to limit URI length and Unicode character count
  • Review and audit any custom code that directly calls django.utils.encoding.uri_to_iri()
  • Enable rate limiting on public-facing endpoints to reduce DoS attack impact

Patch Information

Django has released security patches addressing this vulnerability in the following versions:

BranchFixed Version
3.2.x3.2.21
4.1.x4.1.11
4.2.x4.2.5

Patches are available through standard package managers and from the official Django website. Detailed patch information can be found in the Django Blog Security Releases announcement.

Workarounds

  • Deploy a web application firewall (WAF) with rules to reject requests containing excessively long URIs or abnormal Unicode sequences
  • Configure reverse proxy servers (nginx, Apache) to impose strict limits on request URI length
  • Implement application-level input validation before data reaches Django's encoding functions
  • Consider using request timeout configurations to limit the processing time for any single request
bash
# Example nginx configuration to limit URI length
# Add to server or location block
large_client_header_buffers 4 8k;
client_header_buffer_size 1k;

# Reject requests with excessively long URIs
if ($request_uri ~* "^.{8192,}$") {
    return 414;
}

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 Probability0.41%

  • 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-1284
  • Technical References
  • Django Announcement Forum

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory

  • Fedora Package Announcement
  • Vendor Resources
  • Django Security Release Notes

  • Django Blog Security Releases
  • Related CVEs
  • CVE-2025-14550: Django ASGIRequest DOS Vulnerability

  • CVE-2026-1285: Djangoproject Django DoS Vulnerability

  • CVE-2025-64458: Django HTTP Redirect DoS Vulnerability

  • CVE-2023-43665: Django Truncator DoS Vulnerability
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