5.1.5.txt 957 B

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