Django potential denial of service vulnerability in UsernameField on Windows
High severity
GitHub Reviewed
Published
Nov 2, 2023
to the GitHub Advisory Database
•
Updated Sep 20, 2024
Package
Affected versions
>= 3.2a1, < 3.2.23
>= 4.1a1, < 4.1.13
>= 4.2a1, < 4.2.7
Patched versions
3.2.23
4.1.13
4.2.7
Description
Published by the National Vulnerability Database
Nov 2, 2023
Published to the GitHub Advisory Database
Nov 2, 2023
Reviewed
Nov 2, 2023
Last updated
Sep 20, 2024
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