PYSEC-2023-222
Dashboard / Vulnerabilities / PYSEC-2023-222
PYSEC-2023-222
Published: 2 Nov 2023Last Modified: 10 Jun 2026
Summary:
Details: 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.
References: https://docs.djangoproject.com/en/4.2/releases/security/, https://groups.google.com/forum/#!forum/django-announce, https://www.djangoproject.com/weblog/2023/nov/01/security-releases/, https://github.com/advisories/GHSA-qmf9-6jqf-j8fq
Affected packages
Package
Name: django
Purl: pkg:pypi/django
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 3.2
Fixed -3.2.23
Affected versions
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
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
