Vulnerability · Published Nov 2, 2023 · Assigned by mitre

CVE-2023-46695

High 7.5

In plain English

A high-severity security flaw in the django package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 53.4% (higher than 99% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)53.4%top 1.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and 4.2 before 4.2.7. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.forms.UsernameField is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIdjango3.2.23GHSA-qmf9-6jqf-j8fq
PyPIdjango4.1.13GHSA-qmf9-6jqf-j8fq
PyPIdjango4.2.7GHSA-qmf9-6jqf-j8fq
PyPIdjango3.2.23, 4.1.13, 4.2.7PYSEC-2023-222

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References