Debian Codegraph @

docs/releases/5.1.5.txt

raw
1 ==========================
2 Django 5.1.5 release notes
3 ==========================
4
5 *January 14, 2025*
6
7 Django 5.1.5 fixes a security issue with severity "moderate" and one bug in
8 5.1.4.
9
10 CVE-2024-56374: Potential denial-of-service vulnerability in IPv6 validation
11 ============================================================================
12
13 Lack of upper bound limit enforcement in strings passed when performing IPv6
14 validation could lead to a potential denial-of-service attack. The undocumented
15 and private functions ``clean_ipv6_address`` and ``is_valid_ipv6_address`` were
16 vulnerable, as was the :class:`django.forms.GenericIPAddressField` form field,
17 which has now been updated to define a ``max_length`` of 39 characters.
18
19 The :class:`django.db.models.GenericIPAddressField` model field was not
20 affected.
21
22 Bugfixes
23 ========
24
25 * Fixed a crash when applying migrations with references to the removed
26 ``Meta.index_together`` option (:ticket:`34856`).