Vulnerability · Published Jul 3, 2023 · Assigned by mitre
CVE-2023-36053
High 7.5
In plain English
A high-severity regular-expression denial of service in the python-django package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.0% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)3.0%top 12.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-django | 3:3.2.19-1+deb12u1 | DEBIAN-CVE-2023-36053 |
| Debian:12 | python-django | 3:3.2.19-1+deb12u1 | DSA-5465-1 |
| Debian:13 | python-django | 3:3.2.20-1 | DEBIAN-CVE-2023-36053 |
| Debian:14 | python-django | 3:3.2.20-1 | DEBIAN-CVE-2023-36053 |
| PyPI | django | 3.2.20, 4.1.10, 4.2.3 | PYSEC-2023-100 |
| PyPI | django | 4.2.3 | GHSA-jh3w-4vvf-mjgr |
| PyPI | django | 4.1.10 | GHSA-jh3w-4vvf-mjgr |
| PyPI | django | 3.2.20 | GHSA-jh3w-4vvf-mjgr |
| Ubuntu:22.04:LTS | python-django | 2:3.2.12-2ubuntu1.7 | UBUNTU-CVE-2023-36053 |
| Ubuntu:22.04:LTS | python-django | 2:3.2.12-2ubuntu1.7 | USN-6203-1 |
Affected products (as reported)
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://groups.google.com/forum/#%21forum/django-announce
- https://docs.djangoproject.com/en/4.2/releases/security/
- https://www.djangoproject.com/weblog/2023/jul/03/security-releases/
- [debian-lts-announce] 20230719 [SECURITY] [DLA 3500-1] python-django security update mailing-list
- DSA-5465 vendor-advisory
- FEDORA-2023-cc023fabb7 vendor-advisory
- FEDORA-2023-9d36d373f1 vendor-advisory
- FEDORA-2024-84fbbbb914 vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/