What’s Vulnerable › Vulnerabilities

CVE-2023-36053: Django has regular expression denial of service vulnerability in EmailValidator/URLValidator

Description

In Django 3.2 before 3.2.20, 4 before 4.1.10, and 4.2 before 4.2.3, 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.

Affected products

How to fix

Upgrade to a fixed version: Django 3.2.20, 4.1.10, 4.2.3; Pypi Django 4.2.3, 4.1.10, 3.2.20. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-36053 or the next vulnerability affects your stack