summaryrefslogtreecommitdiff
path: root/docs/releases/4.2.7.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/releases/4.2.7.txt')
-rw-r--r--docs/releases/4.2.7.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/releases/4.2.7.txt b/docs/releases/4.2.7.txt
index 0b1228c9f6..13d902475b 100644
--- a/docs/releases/4.2.7.txt
+++ b/docs/releases/4.2.7.txt
@@ -7,6 +7,18 @@ Django 4.2.7 release notes
Django 4.2.7 fixes a security issue with severity "moderate" and several bugs
in 4.2.6.
+CVE-2023-46695: Potential denial of service vulnerability in ``UsernameField`` on Windows
+=========================================================================================
+
+The :func:`NFKC normalization <python:unicodedata.normalize>` is slow on
+Windows. As a consequence, ``django.contrib.auth.forms.UsernameField`` was
+subject to a potential denial of service attack via certain inputs with a very
+large number of Unicode characters.
+
+In order to avoid the vulnerability, invalid values longer than
+``UsernameField.max_length`` are no longer normalized, since they cannot pass
+validation anyway.
+
Bugfixes
========