Skip to main content

Inefficient Regular Expression Complexity

CVE-2023-36053

Severity High
Score 7.5/10

Summary

In Django 3.2a1 through 3.2.19, 4.0a1 through 4.1.9, and 4.2a1 through 4.2.2, "EmailValidator" and "URLValidator" are subject to a potential ReDoS (regular expression denial of service) attack via a very large number of domain name labels of emails and URLs.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-1333 - Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Advisory Timeline

  • Published