Skip to content
Fencer Vulns
high 7.5

CVE-2023-36053 json

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

published 2023-07-03 3 y ago modified 2026-09-08 2 mo ago also BIT-django-2023-36053 , EUVD-2023-0065 , GHSA-jh3w-4vvf-mjgr , PYSEC-2023-100

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi django 3.2.20, 4.1.10, 4.2.3
  • bitnami django 3.2.20, 4.1.10, 4.2.3
  • djangoproject django 3.2.20, 4.1.10, 4.2.3
  • python-django Debian 12 3:3.2.19-1+deb12u1
  • python-django Debian 14, Debian 13 3:3.2.20-1

debian advisories DEBIAN-CVE-2023-36053

  • python-django Ubuntu 20.04 LTS 2:2.2.12-1ubuntu0.18
  • python-django Ubuntu 22.04 LTS 2:3.2.12-2ubuntu1.7
  • python-django Ubuntu Pro 18.04 LTS 1:1.11.11-1ubuntu1.21+esm1

ubuntu advisories UBUNTU-CVE-2023-36053

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • foreman satellite utils 6.14, satellite capsule 6.14, satellite 6.14 3.7.0.9-1.el8sat
  • foreman-cli satellite utils 6.14, satellite 6.14 3.7.0.9-1.el8sat
  • foreman-ec2 satellite 6.14 3.7.0.9-1.el8sat
  • rubygem-git satellite 6.14, satellite 6.13 1.18.0-1.el8sat
  • puppet-agent satellite capsule 6.14, satellite capsule 6.13, satellite 6.14 +1 more 7.26.0-3.el8sat
  • puppetserver satellite capsule 6.14, satellite 6.14 7.11.0-1.el8sat
  • rubygem-rack satellite capsule 6.14, satellite 6.14 2.2.7-1.el8sat
  • foreman-ovirt satellite 6.14 3.7.0.9-1.el8sat

red hat advisories RHSA-2023:6818RHSA-2023:5931RHSA-2024:1878RHSA-2024:0212RHSA-2023:4693RHSA-2023:4692

  • python-Django1 OpenStack Cloud Crowbar 9, OpenStack Cloud 9 1.11.29-3.47.1
  • python-Django OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 1.11.29-3.48.1
  • python-Django openSUSE Leap 15.5 2.0.7-150000.1.11.1

suse advisories SUSE-SU-2023:3202-1SUSE-SU-2023:3167-1SUSE-SU-2023:2839-1

  • python-Django5 openSUSE Tumbleweed 5.2.16-1.1
  • python-Django openSUSE Tumbleweed 5.2.16-1.1
  • python-Django4 openSUSE Tumbleweed 4.2.30-4.1
  • python-Django6 openSUSE Tumbleweed 6.0-1.1
  • python-Django4 openSUSE Tumbleweed 4.2.14-1.1
  • python-Django openSUSE Tumbleweed 4.2.3-1.1
  • python-Django Package Hub 15 SP5, openSUSE Leap 15.5 2.2.28-bp155.7.3.1
  • python-Django1 Package Hub 15 SP4, openSUSE Leap 15.4 1.11.29-bp154.2.6.1

opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11248-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10005-1openSUSE-SU-2024:14208-1openSUSE-SU-2024:13044-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-36053 updated cvss 7.5

python-django: Potential regular expression denial of service vulnerability in EmailValidator/URLValidator

  • Red Hat Ansible Automation Platform 2 python3-django
    affected: no fix available
  • Red Hat Ceph Storage 2 python-django, python-django-bash-completion
    affected: no fix planned “Out of support scope”
  • Red Hat Ceph Storage 3 python-django, python-django-bash-completion
    affected: no fix planned “Will not fix”
  • Red Hat Certification for Red Hat Enterprise Linux 7 python-django Red Hat OpenStack Platform 13 (Queens) python-django, python2-django, python-django-bash-completion
    affected: no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 16.1 python-django20, python3-django20, python-django20-bash-completion Red Hat OpenStack Platform 16.2 python-django20, python3-django20, python-django20-bash-completion
    affected: no fix planned “Will not fix”
  • Red Hat OpenStack Platform 17.0 python3-django Red Hat OpenStack Platform 17.1 python3-django Red Hat OpenStack Platform 18.0 python-django, python3-django
    affected: no fix available
  • Red Hat Storage 3 python-django, python2-django, python-django-bash-completion
    affected: no fix planned “Will not fix”
  • Red Hat Update Infrastructure 3 for Cloud Providers python-django, python2-django
    affected: no fix planned “Out of support scope”
show 7 more
  • Red Hat Update Infrastructure 4 for Cloud Providers python3-django, python38-django, python39-django
    affected: no fix available
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-django 3.2.20-1.el8ap, python3x-django 3.2.20-1.el8ap, automation-controller-venv-tower 4.4.2-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-django 3.2.20-1.el9ap, python3-django 3.2.20-1.el9ap, automation-controller-venv-tower 4.4.2-1.el9ap
    fixed: vendor fix RHSA-2023:4692
  • Red Hat OpenStack Platform 17.1 python-django 2.2.24-5.el9ost, python3-django 2.2.24-5.el9ost
    fixed: vendor fix RHSA-2024:0212
  • Red Hat Satellite 6.13 for RHEL 8 python-django 3.2.21-1.el8pc, python39-django 3.2.21-1.el8pc
    fixed: vendor fix RHSA-2023:5931
  • Red Hat Satellite 6.14 for RHEL 8 python-django 3.2.21-1.el8pc, python39-django 3.2.21-1.el8pc
    fixed: vendor fix RHSA-2023:6818
  • Red Hat RHUI 4 for RHEL 8 python-django 4.2.11-1.el8ui, python3.11-django 4.2.11-1.el8ui
    fixed: vendor fix RHSA-2024:1878
  • Red Hat Ansible Automation Platform 2 python38-django Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-rsa 4.7.2-1.el8ap, python3x-rsa 4.7.2-1.el8ap, python39-requests 2.31.0-1.el8ap, python3x-requests 2.31.0-1.el8ap, automation-controller 4.4.2-1.el8ap, python39-cryptography 38.0.4-2.el8ap, +7 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-rsa 4.7.2-1.el9ap, python3-rsa 4.7.2-1.el9ap, python-requests 2.31.0-1.el9ap, python3-requests 2.31.0-1.el9ap, python-cryptography 38.0.4-2.el9ap, automation-controller 4.4.2-1.el9ap, +7 more Red Hat Satellite 6 python2-django, python3-django, python38-django, python39-django, tfm-pulpcore-python-django, tfm-pulpcore-python3-django Red Hat Satellite 6.13 for RHEL 8 foreman 3.5.1.23-1.el8sat, satellite 6.13.5-1.el8sat, rubygem-git 1.18.0-1.el8sat, puppet-agent 7.26.0-3.el8sat, foreman-cli 3.5.1.23-1.el8sat, foreman-ec2 3.5.1.23-1.el8sat, +24 more Red Hat Satellite 6.14 for RHEL 8 cjson 1.7.14-5.el8sat, katello 4.9.0-1.el8sat, libsolv 0.7.22-4.el8pc, libcomps 0.1.18-4.el8pc, python-idna 3.3-2.el8pc, candlepin 4.3.1-1.el8sat, +667 more
    +1 more products
    Red Hat RHUI 4 for RHEL 8 libsolv 0.7.22-6.el8ui, libcomps 0.1.18-8.el8ui, python-jq 1.6.0-3.el8ui, python-xlrd 2.0.1-8.el8ui, python-xlwt 1.3.0-6.el8ui, python-yarl 1.8.2-4.el8ui, +201 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

2.98% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi django
>=3.2a1, <3.2.20
>=4.0a1, <4.1.10
>=4.2a1, <4.2.3
>=4.2, <4.2.3
>=4.0, <4.1.10
>=3.2, <3.2.20
3.2.20
4.1.10
4.2.3
bitnami django
>=3.2.0, <3.2.20
>=4.0.0, <4.1.10
>=4.2.0, <4.2.3
3.2.20
4.1.10
4.2.3

Affected products

  • debian debian_linux
  • fedoraproject fedora
  • djangoproject django

Classification

Weakness
  • CWE-1333 Inefficient Regular Expression Complexity
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.