Live threats

All CVEs / Djangoproject

CVE-2023-36053Djangoproject Django

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
djangoprojectdjango≥ 3.2 < 3.2.20
djangoprojectdjango≥ 4.0 < 4.1.10
djangoprojectdjango≥ 4.2 < 4.2.3
debiandebian_linux10.0
debiandebian_linux11.0
debiandebian_linux12.0
fedoraprojectfedora37
fedoraprojectfedora38

Official advisories

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.