2023-10-04 15:33:08 +00:00
|
|
|
==========================
|
|
|
|
Django 4.2.7 release notes
|
|
|
|
==========================
|
|
|
|
|
2023-10-25 03:37:57 +00:00
|
|
|
*November 1, 2023*
|
2023-10-04 15:33:08 +00:00
|
|
|
|
2023-10-25 03:37:57 +00:00
|
|
|
Django 4.2.7 fixes a security issue with severity "moderate" and several bugs
|
|
|
|
in 4.2.6.
|
2023-10-04 15:33:08 +00:00
|
|
|
|
2023-10-17 09:48:32 +00:00
|
|
|
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.
|
|
|
|
|
2023-10-04 15:33:08 +00:00
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2023-10-16 01:59:15 +00:00
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of
|
|
|
|
``QuerySet.aggregate()`` with aggregates referencing expressions containing
|
|
|
|
subqueries (:ticket:`34798`).
|
2023-10-27 13:46:05 +00:00
|
|
|
|
|
|
|
* Restored, following a regression in Django 4.2, creating
|
|
|
|
``varchar/text_pattern_ops`` indexes on ``CharField`` and ``TextField`` with
|
|
|
|
deterministic collations on PostgreSQL (:ticket:`34932`).
|