Django has regular expression denial of service vulnerability in EmailValidator/URLValidator
High severity
GitHub Reviewed
Published
Jul 3, 2023
to the GitHub Advisory Database
•
Updated Sep 20, 2024
Package
Affected versions
>= 3.2a1, < 3.2.20
>= 4.0a1, < 4.1.10
>= 4.2a1, < 4.2.3
Patched versions
3.2.20
4.1.10
4.2.3
Description
Published by the National Vulnerability Database
Jul 3, 2023
Published to the GitHub Advisory Database
Jul 3, 2023
Reviewed
Jul 5, 2023
Last updated
Sep 20, 2024
In Django 3.2 before 3.2.20, 4 before 4.1.10, and 4.2 before 4.2.3,
EmailValidator
andURLValidator
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.References