Django · Django · CVE-2024-56374
**Name of the Vulnerable Software and Affected Versions**
Django versions 4.2 through 4.2.17
Django versions 5.0 through 5.0.10
Django versions 5.1 through 5.1.4
**Description**
A potential denial-of-service attack could occur due to the lack of upper-bound limit enforcement in strings passed when performing IPv6 validation. The undocumented and private functions `clean ipv6 address` and `is valid ipv6 address` are vulnerable, as is the `django.forms.GenericIPAddressField` form field.
**Recommendations**
For Django versions 4.2 through 4.2.17, update to version 4.2.18 or later.
For Django versions 5.0 through 5.0.10, update to version 5.0.11 or later.
For Django versions 5.1 through 5.1.4, update to version 5.1.5 or later.