Resource exhaustion in Djangoproject Django
CVE-2024-56374
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.)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.013, 70.4th percentile (scored ); down from 0.019 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.013 · change: -0.006
Affected products
- Djangoproject Django — versions 4.2, 5.0, 5.1
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (zhanpengliu-tencent/medium-cve). These reference the CVE in a list, notes or a scanner and are not exploit code for 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 (Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/01/msg00024.html (Mailing List, Third Party Advisory)