CVE-2023-36053Djangoproject Django
High 7.5 No auth needed
Follow: this CVE · Djangoproject · Djangoproject Django We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Jul 3, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Django.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
≥ 3.2a1 < 3.2.20 |
3.2.20 |
pip install "django>=3.2.20" |
| PyPI | django |
≥ 4.0a1 < 4.1.10 |
4.1.10 |
pip install "django>=4.1.10" |
| PyPI | django |
≥ 4.2a1 < 4.2.3 |
4.2.3 |
pip install "django>=4.2.3" |
| PyPI | django |
≥ 4.2 < 4.2.3 |
4.2.3 |
pip install "django>=4.2.3" |
| PyPI | django |
≥ 4.0 < 4.1.10 |
4.1.10 |
pip install "django>=4.1.10" |
| PyPI | django |
≥ 3.2 < 3.2.20 |
3.2.20 |
pip install "django>=3.2.20" |
Per OSV / GitHub Advisories (GHSA-jh3w-4vvf-mjgr, PYSEC-2023-100). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | ≥ 3.2 < 3.2.20 |
| djangoproject | django | ≥ 4.0 < 4.1.10 |
| djangoproject | django | ≥ 4.2 < 4.2.3 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| debian | debian_linux | 12.0 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
Official advisories
- python313-Django5-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11270-1 · Jul 14, 2026 Critical
- python313-Django-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11248-1 · Jul 10, 2026 Critical
- python313-Django4-4.2.30-4.1 on GA media · SUSE · openSUSE-SU-2026:11235-1 · Jul 9, 2026 Critical
- Red Hat Security Advisory: Satellite 6.14 security and bug fix update · Red Hat · RHSA-2023:6818 · Oct 2, 2024 High
- Red Hat Security Advisory: Satellite 6.13.5 Async Security Update · Red Hat · RHSA-2023:5931 · Oct 2, 2024 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- docs.djangoproject.com Release Notes
- groups.google.com Permissions Required
- lists.debian.org Mailing List
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- www.debian.org Third Party Advisory
- www.djangoproject.com Patch Vendor Advisory
- lists.fedoraproject.org