CVE
CVE-2023-46695
CVE-2023-46695HIGH 7.5EPSS 99%
CNA 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 versions
- django≥ 4.2a1, < 4.2.7Fixed in 4.2.7
- django≥ 4.1a1, < 4.1.13Fixed in 4.1.13
- django≥ 3.2a1, < 3.2.23Fixed in 3.2.23
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/ · Patch
- www.djangoproject.com/weblog/2023/nov/01/security-releases/ · Patch, Vendor Advisory
- github.com/advisories/GHSA-qmf9-6jqf-j8fq · Third Party Advisory
- osv.dev/vulnerability/GHSA-qmf9-6jqf-j8fq · Third Party Advisory
- github.com/django/django/commit/048a9ebb6ea468426cb4e57c71572cbbd97551 · Vendor Advisory
- github.com/django/django/commit/4965bfdde2e5a5c883685019e57d123a3368a7 · Vendor Advisory
- github.com/django/django/commit/f9a7fb8466a7ba4857eaf930099b5258f3eafb · Vendor Advisory
- docs.djangoproject.com/en/4.2/releases/security · Vendor Advisory
- www.djangoproject.com/weblog/2023/nov/01/security-releases · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2023-222 · 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.