Vulnerabilities · 2024 · Djangoproject
CVE-2024-56374
Djangoproject Django vulnerability
An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 before 4.2.18. 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 are vulnerable, as is the django.forms.GenericIPAddressField form field. (The django.db.models.GenericIPAddressField model field is not affected.)
Affected products
Django, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory
- groups.google.com/g/django-announce · Vendor Advisory
- www.djangoproject.com/weblog/2025/jan/14/security-releases/ · Vendor Advisory
- www.openwall.com/lists/oss-security/2025/01/14/2 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/01/msg00024.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-56374
- docs.djangoproject.com/en/dev/releases/security
- www.djangoproject.com/weblog/2025/jan/14/security-releases
- nvd.nist.gov/vuln/detail/CVE-2024-56374
- cve.org/CVERecord?id=CVE-2024-56374
More vulnerabilities in Djangoproject products
CVE-2026-1312CVE-2026-1287CVE-2026-1285CVE-2026-1207CVE-2025-64460CVE-2025-64459CVE-2025-64458CVE-2025-59682All 137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.