Affected versions
Version ranges need review.
PyPIdjango
- Affected versions
- >= 4.1a1, < 4.1.13
- Fixed version
- 4.1.13
PyPIdjango
- Affected versions
- >= 3.2a1, < 3.2.23
- Fixed version
- 3.2.23
PyPIdjango
- Affected versions
- >=3.2 <3.2.23 || >=4.1 <4.1.13 || >=4.2 <4.2.7 || =3.2 || =3.2.1 || =3.2.10 || =3.2.11 || =3.2.12 || =3.2.13 || =3.2.14 || =3.2.15 || =3.2.16 || =3.2.17 || =3.2.18 || =3.2.19 || =3.2.2 || =3.2.20 || =3.2.21 || =3.2.22 || =3.2.3 || =3.2.4 || =3.2.5 || =3.2.6 || =3.2.7 || =3.2.8 || =3.2.9 || =4.1 || =4.1.1 || =4.1.10 || =4.1.11 || =4.1.12 || =4.1.2 || =4.1.3 || =4.1.4 || =4.1.5 || =4.1.6 || =4.1.7 || =4.1.8 || =4.1.9 || =4.2 || =4.2.1 || =4.2.2 || =4.2.3 || =4.2.4 || =4.2.5 || =4.2.6
- Fixed version
- 3.2.23 · 4.1.13 · 4.2.7
PyPIdjango
- Affected versions
- >= 4.2a1, < 4.2.7
- Fixed version
- 4.2.7
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
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.
Links
- https://docs.djangoproject.com/en/4.2/releases/security
- https://docs.djangoproject.com/en/4.2/releases/security/
- https://github.com/advisories/GHSA-qmf9-6jqf-j8fq
- https://github.com/django/django/commit/048a9ebb6ea468426cb4e57c71572cbbd975517f
- https://github.com/django/django/commit/4965bfdde2e5a5c883685019e57d123a3368a75e
- https://github.com/django/django/commit/f9a7fb8466a7ba4857eaf930099b5258f3eafb2b
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-222.yaml
- https://groups.google.com/forum/#!forum/django-announce
- https://groups.google.com/forum/#%21forum/django-announce
- https://nvd.nist.gov/vuln/detail/CVE-2023-46695
- https://security.netapp.com/advisory/ntap-20231214-0001
- https://www.djangoproject.com/weblog/2023/nov/01/security-releases
- https://www.djangoproject.com/weblog/2023/nov/01/security-releases/

