CVE-2023-36053
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Django
PublishedJul 3, 2023
First seenJul 3, 2023
Weakness typeCWE-1333CWE-1333
How to fix
Update
- djangoproject django3.2.20, 4.1.10, 4.2.3 or later
- django3.2.20, 4.1.10, 4.2.3 or later
Vendor advisories
- debian.org/security/2023/dsa-5465
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XG5DYKPNDCEHJQ3TKPJQO7QGSR4FAYMS/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NRDGTUN4LTI6HG4TWR3JYLSFVXPZT42A/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject django | 3.2 ≤ v < 3.2.20, 4.0 ≤ v < 4.1.10, 4.2 ≤ v < 4.2.3 | 3.2.20, 4.1.10, 4.2.3 |
| debian debian_linux | 10.0, 11.0, 12.0 | — |
| fedoraproject fedora | 37, 38 | — |
| djangoPyPI | 3.2a1 ≤ v < 3.2.20, 4.0a1 ≤ v < 4.1.10, 4.2a1 ≤ v < 4.2.3, 4.2 ≤ v < 4.2.3, 4.0 ≤ v < 4.1.10, 3.2 ≤ v < 3.2.20 | 3.2.20, 4.1.10, 4.2.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.