2024-12-04 16:23:59 +01:00
|
|
|
==========================
|
|
|
|
Django 5.1.5 release notes
|
|
|
|
==========================
|
|
|
|
|
2025-01-07 12:28:39 -03:00
|
|
|
*January 14, 2025*
|
2024-12-04 16:23:59 +01:00
|
|
|
|
2025-01-14 08:33:03 -03:00
|
|
|
Django 5.1.5 fixes a security issue with severity "moderate" and one bug in
|
|
|
|
5.1.4.
|
2024-12-04 16:23:59 +01:00
|
|
|
|
2024-12-11 21:39:32 -05:00
|
|
|
CVE-2024-56374: Potential denial-of-service vulnerability in IPv6 validation
|
|
|
|
============================================================================
|
|
|
|
|
|
|
|
Lack of upper bound limit enforcement in strings passed when performing IPv6
|
|
|
|
validation could lead to a potential denial-of-service attack. The undocumented
|
|
|
|
and private functions ``clean_ipv6_address`` and ``is_valid_ipv6_address`` were
|
|
|
|
vulnerable, as was the :class:`django.forms.GenericIPAddressField` form field,
|
|
|
|
which has now been updated to define a ``max_length`` of 39 characters.
|
|
|
|
|
|
|
|
The :class:`django.db.models.GenericIPAddressField` model field was not
|
|
|
|
affected.
|
|
|
|
|
2024-12-04 16:23:59 +01:00
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2024-12-16 13:54:51 +01:00
|
|
|
* Fixed a crash when applying migrations with references to the removed
|
|
|
|
``Meta.index_together`` option (:ticket:`34856`).
|