January 14, 2025
Django 4.2.18 fixes a security issue with severity "moderate" in 4.2.17.
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 django.forms.GenericIPAddressField form field,
which has now been updated to define a max_length of 39 characters.
The django.db.models.GenericIPAddressField model field was not
affected.
4月 20, 2026
本文整理自 Django 6.0 官方中文文档,转载请注明出处。
上一篇:Django 4.2.17 版本发行说明 — Django 6.0.4 documentation(2026)
下一篇:Django 4.2.18 release notes — Django 6.0.4 documentation(2026)