What’s Vulnerable › Vulnerabilities

CVE-2023-46695: Django potential denial of service vulnerability in UsernameField on Windows

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 products

How to fix

Upgrade to a fixed version: Django 3.2.23, 4.1.13, 4.2.7; Pypi Django 3.2.23, 4.1.13, 4.2.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-46695 or the next vulnerability affects your stack