Vulnerability · Published Jul 3, 2023 · Assigned by mitre

CVE-2023-36053

High 7.5

In plain English

A high-severity regular-expression denial of service in the python-django package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.0% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)3.0%top 12.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-django3:3.2.19-1+deb12u1DEBIAN-CVE-2023-36053
Debian:12python-django3:3.2.19-1+deb12u1DSA-5465-1
Debian:13python-django3:3.2.20-1DEBIAN-CVE-2023-36053
Debian:14python-django3:3.2.20-1DEBIAN-CVE-2023-36053
PyPIdjango3.2.20, 4.1.10, 4.2.3PYSEC-2023-100
PyPIdjango4.2.3GHSA-jh3w-4vvf-mjgr
PyPIdjango4.1.10GHSA-jh3w-4vvf-mjgr
PyPIdjango3.2.20GHSA-jh3w-4vvf-mjgr
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.7UBUNTU-CVE-2023-36053
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.7USN-6203-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References