Skip to content
OpenAdvisories
High · 7.5 CVE-2023-36053 BIT-django-2023-36053EUVD-2023-0065GHSA-jh3w-4vvf-mjgrPYSEC-2023-100

Django has regular expression denial of service vulnerability in EmailValidator/URLValidator

Published Jul 3, 2023 · Updated Nov 4, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 3:3.2.20-1 —
Debian 13 python-django 3:3.2.20-1 —
Debian 12 python-django 3:3.2.19-1+deb12u1 DSA-5465-1
Debian 11 python-django 2:2.2.28-1~deb11u2 DSA-5465-1
Debian 10 python-django 1:1.11.29-1+deb10u9 DLA-3500-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS python-django 2:3.2.12-2ubuntu1.7 USN-6203-1
Ubuntu 20.04 LTS python-django 2:2.2.12-1ubuntu0.18 USN-6203-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS python-django 1:1.11.11-1ubuntu1.21+esm1 USN-6203-2
Ubuntu Pro 16.04 LTS python-django No fix yet —
Ubuntu Pro 14.04 LTS python-django No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman +1 3.5.1.23-1.el8sat RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite Capsule 6 foreman +1 3.5.1.23-1.el8sat RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite Capsule 6 puppet-agent 7.26.0-3.el8sat RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite Capsule 6 puppetserver 7.11.0-1.el8sat RHSA-2023:6818
Red Hat Satellite Capsule 6 python-django +1 3.2.21-1.el8pc RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite Capsule 6 python-future +1 0.18.3-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-gitpython +1 3.1.32-1.el8pc RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite Capsule 6 python-pulp-ansible +1 1:0.16.0-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-requests +1 2.31.0-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-sqlparse +1 0.4.4-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 rubygem-rack 2.2.7-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 foreman +12 3.5.1.23-1.el8sat RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite 6 foreman-redis 3.7.0.9-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 puppet-agent 7.26.0-3.el8sat RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite 6 puppetserver 7.11.0-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 python-django +1 3.2.21-1.el8pc RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite 6 python-future +1 0.18.3-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-gitpython +1 3.1.32-1.el8pc RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite 6 python-pulp-ansible +1 1:0.16.0-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-requests +1 2.31.0-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-sqlparse +1 0.4.4-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 rubygem-actionpack +2 6.1.7.3-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-git 1.18.0-1.el8sat RHSA-2023:6818, RHSA-2023:5931
Red Hat Satellite 6 rubygem-globalid 1.1.0-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-kubeclient 4.10.1-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-rack 2.2.7-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 yggdrasil-worker-forwarder 0.0.3-1.el8sat RHSA-2023:6818, RHSA-2023:5931
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhui 4 python-aiohttp +1 3.9.2-1.el8ui RHSA-2024:1878
Red Hat Rhui 4 python-cryptography +1 41.0.6-1.el8ui RHSA-2024:1878
Red Hat Rhui 4 python-django +1 4.2.11-1.el8ui RHSA-2024:1878
Red Hat Rhui 4 python-ecdsa +1 0.18.0-4.el8ui RHSA-2024:1878
Red Hat Rhui 4 python-jinja2 +1 3.1.3-1.el8ui RHSA-2024:1878
Red Hat OpenStack 17 python-django +1 2.2.24-5.el9ost RHSA-2024:0212
Red Hat Ansible Automation Platform Inside 2 python-cryptography +1 38.0.4-2.el9ap RHSA-2023:4693
Red Hat Ansible Automation Platform Inside 2 python39-cryptography +1 38.0.4-2.el8ap RHSA-2023:4693
Red Hat Ansible Automation Platform Developer 2 python-cryptography +1 38.0.4-2.el9ap RHSA-2023:4693
Red Hat Ansible Automation Platform Developer 2 python39-cryptography +1 38.0.4-2.el8ap RHSA-2023:4693
Red Hat Ansible Automation Platform 2 automation-controller +1 4.4.2-1.el8ap RHSA-2023:4692
Red Hat Ansible Automation Platform 2 automation-eda-controller +2 1.0.1-1.el8ap RHSA-2023:4693
Red Hat Ansible Automation Platform 2 python-cryptography +1 38.0.4-2.el9ap RHSA-2023:4693
Red Hat Ansible Automation Platform 2 python-django +1 3.2.20-1.el9ap RHSA-2023:4693
Red Hat Ansible Automation Platform 2 python39-cryptography +1 38.0.4-2.el8ap RHSA-2023:4693
Red Hat Ansible Automation Platform 2 python39-django +1 3.2.20-1.el8ap RHSA-2023:4693
Red Hat Ansible Automation Platform 2 python39-requests +1 2.31.0-1.el8ap RHSA-2023:4693
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP5 python-Django 2.2.28-bp155.7.3.1 openSUSE-SU-2023:0178-1
SUSE Package Hub 15 SP5 python-Django1 1.11.29-bp155.4.3.1 openSUSE-SU-2023:0176-1
SUSE Package Hub 15 SP4 python-Django 2.2.28-bp154.2.12.1 openSUSE-SU-2023:0174-1
SUSE Package Hub 15 SP4 python-Django1 1.11.29-bp154.2.6.1 openSUSE-SU-2023:0177-1
SUSE OpenStack Cloud Crowbar 9 python-Django1 1.11.29-3.47.1 SUSE-SU-2023:3202-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud Crowbar 8 python-Django 1.11.29-3.48.1 SUSE-SU-2023:3167-1
SUSE OpenStack Cloud 9 python-Django1 1.11.29-3.47.1 SUSE-SU-2023:3202-1
SUSE OpenStack Cloud 8 python-Django 1.11.29-3.48.1 SUSE-SU-2023:3167-1
SUSE HPE Helion OpenStack 8 python-Django 1.11.29-3.48.1 SUSE-SU-2023:3167-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Django 4.2.3-1.1 openSUSE-SU-2026:11248-1, openSUSE-SU-2024:13044-1
openSUSE Tumbleweed python-Django4 4.2.14-1.1 openSUSE-SU-2026:11235-1, openSUSE-SU-2024:14208-1
openSUSE Tumbleweed python-Django5 5.2.16-1.1 openSUSE-SU-2026:11270-1
openSUSE Tumbleweed python-Django6 6.0-1.1 openSUSE-SU-2026:10005-1
openSUSE Leap 15.5 python-Django 2.0.7-150000.1.11.1 openSUSE-SU-2023:0178-1, SUSE-SU-2023:2839-1
openSUSE Leap 15.5 python-Django1 1.11.29-bp155.4.3.1 openSUSE-SU-2023:0176-1
openSUSE Leap 15.4 python-Django 2.2.28-bp154.2.12.1 openSUSE-SU-2023:0174-1
openSUSE Leap 15.4 python-Django1 1.11.29-bp154.2.6.1 openSUSE-SU-2023:0177-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 3.2a1, < 3.2.20 3.2.20 GHSA-jh3w-4vvf-mjgr
PyPI django >= 4.0a1, < 4.1.10 4.1.10 GHSA-jh3w-4vvf-mjgr
PyPI django >= 4.2a1, < 4.2.3 4.2.3 GHSA-jh3w-4vvf-mjgr
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 PYSEC-2023-100

Advisories 25

References