CVE-2023-36053
HIGH 7.5CVSS 3.1Django has regular expression denial of service vulnerability in EmailValidator/URLValidator
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.
- Published
- 3 Jul 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- BIT-django-2023-36053GHSA-jh3w-4vvf-mjgrPYSEC-2023-100
- Sources
- NVDJSONOSV GHSA-jh3w-4vvf-mjgrJSONOSV PYSEC-2023-100JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 3.2, < 3.2.20 | 3.2.20 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.0, < 4.1.10 | 4.1.10 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.2, < 4.2.3 | 4.2.3 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* |
= 12.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| OSV | PyPI | django | >= 3.2a1, < 3.2.20 | 3.2.20 |
| OSV | PyPI | django | >= 4.0a1, < 4.1.10 | 4.1.10 |
| OSV | PyPI | django | >= 4.2a1, < 4.2.3 | 4.2.3 |
| OSV | PyPI | django | >= 4.2, < 4.2.3; >= 4.0, < 4.1.10; >= 3.2, < 3.2.20 | 4.2.3, 4.1.10, 3.2.20 |
References
- https://docs.djangoproject.com/en/4.2/releases/security/ · Release Notes, WEB
- https://groups.google.com/forum/#%21forum/django-announce · Permissions Required, WEB
- https://lists.debian.org/debian-lts-announce/2023/07/msg00022.html · Mailing List, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NRDGTUN4LTI6HG4TWR3JYLSFVXPZT42A/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XG5DYKPNDCEHJQ3TKPJQO7QGSR4FAYMS/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/ · WEB
- https://www.debian.org/security/2023/dsa-5465 · Third Party Advisory, WEB
- https://www.djangoproject.com/weblog/2023/jul/03/security-releases/ · Patch, Vendor Advisory, WEB, FIX, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-36053 · ADVISORY
- https://github.com/django/django/commit/454f2fb93437f98917283336201b4048293f7582 · WEB
- https://github.com/django/django/commit/ad0410ec4f458aa39803e5f6b9a3736527062dcd · WEB
- https://github.com/django/django/commit/b7c5feb35a31799de6e582ad6a5a91a9de74e0f9 · WEB
- https://github.com/django/django/commit/beb3f3d55940d9aa7198bf9d424ab74e873aec3d · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XG5DYKPNDCEHJQ3TKPJQO7QGSR4FAYMS · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NRDGTUN4LTI6HG4TWR3JYLSFVXPZT42A · WEB
- https://groups.google.com/forum/#!forum/django-announce · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-100.yaml · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/advisories/GHSA-jh3w-4vvf-mjgr · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 3 Jul 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jul 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Jul 2023)