CVE-2023-36053
Reported by mitre · Published July 3, 2023
django is fixed in 4.2.3, 4.1.10 and 3.2.20 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| django | PyPI | 4.2.3, 4.1.10, 3.2.20 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| debian | debian_linux | 10.0 |
| djangoproject | django | * |
| fedoraproject | fedora | 37 |
| PyPI | Django | 3.2a1, 4.0a1, 4.2a1 |
Timeline
- Jul 2, 2023 CVE Published
- Jul 4, 2023 EPSS Score (30 in total, the first dated here)
- Jul 11, 2023 CVE Updated
- Mar 10, 2026 Security Advisory (16 in total, the first dated here)
- Aug 8, 2026 Coalition ESS Score
- Nov 1, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-36053
vulnetix vdb fixes CVE-2023-36053
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-36053/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [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://nvd.nist.gov/vuln/detail/CVE-2023-36053 advisory
- https://github.com/advisories/GHSA-jh3w-4vvf-mjgr advisory
- https://github.com/django/django/commit/454f2fb93437f98917283336201b4048293f7582 patch
- https://github.com/django/django/commit/ad0410ec4f458aa39803e5f6b9a3736527062dcd patch
- https://github.com/django/django/commit/b7c5feb35a31799de6e582ad6a5a91a9de74e0f9 patch
- https://github.com/django/django/commit/beb3f3d55940d9aa7198bf9d424ab74e873aec3d patch
- https://www.djangoproject.com/weblog/2023/jul/03/security-releases url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XG5DYKPNDCEHJQ3TKPJQO7QGSR4FAYMS url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NRDGTUN4LTI6HG4TWR3JYLSFVXPZT42A url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XG5DYKPNDCEHJQ3TKPJQO7QGSR4FAYMS url
…and 6 more