CVE
CVE-2023-36053
CVE-2023-36053HIGH 7.5EPSS 88%
CNA 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.
Affected versions
- django≥ 4.2a1, < 4.2.3Fixed in 4.2.3
- django≥ 4.0a1, < 4.1.10Fixed in 4.1.10
- django≥ 3.2a1, < 3.2.20Fixed in 3.2.20
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- docs.djangoproject.com/en/4.2/releases/security/ · Release Notes
- www.debian.org/security/2023/dsa-5465 · Third Party Advisory
- www.djangoproject.com/weblog/2023/jul/03/security-releases/ · Patch, Vendor Advisory
- github.com/advisories/GHSA-jh3w-4vvf-mjgr · Third Party Advisory
- osv.dev/vulnerability/GHSA-jh3w-4vvf-mjgr · Third Party Advisory
- github.com/django/django/commit/454f2fb93437f98917283336201b4048293f75 · Vendor Advisory
- github.com/django/django/commit/ad0410ec4f458aa39803e5f6b9a3736527062d · Vendor Advisory
- github.com/django/django/commit/b7c5feb35a31799de6e582ad6a5a91a9de74e0 · Vendor Advisory
- github.com/django/django/commit/beb3f3d55940d9aa7198bf9d424ab74e873aec · Vendor Advisory
- www.djangoproject.com/weblog/2023/jul/03/security-releases · Vendor Advisory
- lists.debian.org/debian-lts-announce/2023/07/msg00022.html · Vendor Advisory
- docs.djangoproject.com/en/4.2/releases/security · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2023-100 · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.