cve.bz

CVE-2023-36053

7.5 highEPSS 3.0%Fix available

High (7.5). EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in django 3.2.20, 4.1.10, 4.2.3.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-36053 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-36053?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-36053?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-36053 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
djangoproject:djangofrom 3.2 before 3.2.20
djangoproject:djangofrom 4.0 before 4.1.10
djangoproject:djangofrom 4.2 before 4.2.3
debian:debian_linux10.0
debian:debian_linux11.0
debian:debian_linux12.0
fedoraproject:fedora37
fedoraproject:fedora38

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jh3w-4vvf-mjgrPyPIdjango>=3.2a1 <3.2.203.2.20
GHSA-jh3w-4vvf-mjgrPyPIdjango>=4.0a1 <4.1.104.1.10
GHSA-jh3w-4vvf-mjgrPyPIdjango>=4.2a1 <4.2.34.2.3
PYSEC-2023-100PyPIdjango>=4.2 <4.2.3
>=4.0 <4.1.10
>=3.2 <3.2.20
4.2.3, 4.1.10, 3.2.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python-django1:1.11.29-1+deb10u9DLA-3500-1
Debian11python-django2:2.2.28-1~deb11u2DSA-5465-1
Debian12python-django3:3.2.19-1+deb12u1DEBIAN-CVE-2023-36053 DSA-5465-1
Debian13, 14python-django3:3.2.20-1DEBIAN-CVE-2023-36053
Ubuntu20.04:LTSpython-django2:2.2.12-1ubuntu0.18UBUNTU-CVE-2023-36053 USN-6203-1
Ubuntu22.04:LTSpython-django2:3.2.12-2ubuntu1.7UBUNTU-CVE-2023-36053 USN-6203-1
UbuntuPro:14.04:LTS, Pro:16.04:LTSpython-djangono fix listedUBUNTU-CVE-2023-36053
UbuntuPro:18.04:LTSpython-django1:1.11.11-1ubuntu1.21+esm1UBUNTU-CVE-2023-36053 USN-6203-2
Red Hatansible_automation_platform:2.4::el8automation-controller, automation-controller-venv-tower0:4.4.2-1.el8apRHSA-2023:4692
Red Hatansible_automation_platform:2.4::el8automation-eda-controller, automation-eda-controller-ui, automation-eda-controller-server0:1.0.1-1.el8apRHSA-2023:4693
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:3.2.20-1.el8apRHSA-2023:4693
Red Hatansible_automation_platform:2.4::el8python39-requests, python3x-requests0:2.31.0-1.el8apRHSA-2023:4693
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8python39-cryptography, python3x-cryptography, python39-cryptography-debuginfo and 1 more0:38.0.4-2.el8apRHSA-2023:4693
Red Hatansible_automation_platform:2.4::el9automation-controller, automation-controller-venv-tower0:4.4.2-1.el9apRHSA-2023:4692
Red Hatansible_automation_platform:2.4::el9automation-eda-controller, automation-eda-controller-ui, automation-eda-controller-server0:1.0.1-1.el9apRHSA-2023:4693
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:3.2.20-1.el9apRHSA-2023:4693
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9python-cryptography, python3-cryptography, python3-cryptography-debuginfo and 1 more0:38.0.4-2.el9apRHSA-2023:4693
Red Hatopenstack:17.1::el9python-django, python3-django0:2.2.24-5.el9ostRHSA-2024:0212
Red Hatrhui:4::el8python-aiohttp, python3.11-aiohttp, python-aiohttp-debugsource and 1 more0:3.9.2-1.el8uiRHSA-2024:1878
Red Hatrhui:4::el8python-cryptography, python3.11-cryptography, python-cryptography-debugsource and 1 more0:41.0.6-1.el8uiRHSA-2024:1878
28 more for Red Hat in the JSON and on Red Hat's page.
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8python-Django1.11.29-3.48.1SUSE-SU-2023:3167-1
SUSEOpenStack Cloud 9, OpenStack Cloud Crowbar 9python-Django11.11.29-3.47.1SUSE-SU-2023:3202-1
SUSEPackage Hub 15 SP4python-Django2.2.28-bp154.2.12.1openSUSE-SU-2023:0174-1
SUSEPackage Hub 15 SP4python-Django11.11.29-bp154.2.6.1openSUSE-SU-2023:0177-1
SUSEPackage Hub 15 SP5python-Django2.2.28-bp155.7.3.1openSUSE-SU-2023:0178-1
SUSEPackage Hub 15 SP5python-Django11.11.29-bp155.4.3.1openSUSE-SU-2023:0176-1
openSUSELeap 15.4python-Django2.2.28-bp154.2.12.1openSUSE-SU-2023:0174-1
openSUSELeap 15.4python-Django11.11.29-bp154.2.6.1openSUSE-SU-2023:0177-1
openSUSELeap 15.5python-Django2.0.7-150000.1.11.1SUSE-SU-2023:2839-1
openSUSELeap 15.5python-Django2.2.28-bp155.7.3.1openSUSE-SU-2023:0178-1
openSUSELeap 15.5python-Django11.11.29-bp155.4.3.1openSUSE-SU-2023:0176-1
openSUSETumbleweedpython-Django4.2.3-1.1openSUSE-SU-2024:13044-1
openSUSETumbleweedpython-Django5.2.16-1.1openSUSE-SU-2026:11248-1
openSUSETumbleweedpython-Django44.2.14-1.1openSUSE-SU-2024:14208-1
openSUSETumbleweedpython-Django44.2.30-4.1openSUSE-SU-2026:11235-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.4 for RHEL 8automation-controller-0:4.4.2-1.el8apFixed 2023-08-21RHSA-2023:4692
Red Hat Ansible Automation Platform 2.4 for RHEL 8python3x-django-0:3.2.20-1.el8apFixed 2023-08-21RHSA-2023:4693
Red Hat Ansible Automation Platform 2.4 for RHEL 9automation-controller-0:4.4.2-1.el9apFixed 2023-08-21RHSA-2023:4692
Red Hat Ansible Automation Platform 2.4 for RHEL 9python-django-0:3.2.20-1.el9apFixed 2023-08-21RHSA-2023:4693
Red Hat OpenStack Platform 17.1 for RHEL 9python-django-0:2.2.24-5.el9ostFixed 2024-01-16RHSA-2024:0212
Red Hat Satellite 6.13 for RHEL 8python-django-0:3.2.21-1.el8pcFixed 2023-10-19RHSA-2023:5931
Red Hat Satellite 6.14 for RHEL 8python-django-0:3.2.21-1.el8pcFixed 2023-11-08RHSA-2023:6818
RHUI 4 for RHEL 8python-django-0:4.2.11-1.el8uiFixed 2024-04-18RHSA-2024:1878
Red Hat Ansible Automation Platform 2python38-djangoNot affected
Red Hat Ansible Automation Platform 2python3-djangoAffected
Red Hat Ceph Storage 2python-djangoOut of support scope
Red Hat Ceph Storage 3python-djangoWill not fix
Red Hat Certification for Red Hat Enterprise Linux 7python-djangoOut of support scope
Red Hat OpenStack Platform 13 (Queens)python2-djangoOut of support scope
Red Hat OpenStack Platform 13 (Queens)python-djangoOut of support scope
Red Hat OpenStack Platform 16.1python3-django20Will not fix
Red Hat OpenStack Platform 16.1python-django20Will not fix
Red Hat OpenStack Platform 16.2python3-django20Will not fix
Red Hat OpenStack Platform 16.2python-django20Will not fix
Red Hat OpenStack Platform 17.0python3-djangoAffected
17 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-36053.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON