CVE-2024-56374
published 2025-01-14CVE-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…
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.85%
76.5th percentile
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
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | python-django | < python-django 3:3.2.25-0+deb12u1 (bookworm) | python-django 3:3.2.25-0+deb12u1 (bookworm) |
| djangoproject | django | >= 4.2 < 4.2.18 | 4.2.18 |
| djangoproject | django | >= 4.2 < 4.2.18 | 4.2.18 |
| djangoproject | django | >= 5.0 < 5.0.11 | 5.0.11 |
| djangoproject | django | >= 5.0 < 5.0.11 | 5.0.11 |
| djangoproject | django | >= 5.1 < 5.1.5 | 5.1.5 |
| djangoproject | django | >= 5.1 < 5.1.5 | 5.1.5 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian5.8MEDIUM
vendor_redhat5.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Django has a potential denial-of-service vulnerability in IPv6 validation
osv·2025-01-14
CVE-2024-56374 [MEDIUM] Django has a potential denial-of-service vulnerability in IPv6 validation
Django has a potential denial-of-service vulnerability in IPv6 validation
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.)
OSV
CVE-2024-56374: An issue was discovered in Django 5
osv·2025-01-14·CVSS 7.5
CVE-2024-56374 [HIGH] CVE-2024-56374: An issue was discovered in Django 5
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.)
GHSA
Django has a potential denial-of-service vulnerability in IPv6 validation
ghsa·2025-01-14
CVE-2024-56374 [MEDIUM] CWE-770 Django has a potential denial-of-service vulnerability in IPv6 validation
Django has a potential denial-of-service vulnerability in IPv6 validation
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.)
Ubuntu
Django vulnerability
vendor_ubuntu·2025-01-23
CVE-2024-56374 Django vulnerability
Title: Django vulnerability
Summary: Django could be made to cause a denial of service if it received a
specially crafted IPv6 string.
USN-7205-1 fixed a vulnerability in Django. This update provides
the corresponding update for Ubuntu 18.04 LTS.
Original advisory details:
It was discovered that Django incorrectly handled certain IPv6
strings. An attacker could possibly use this issue to cause a
denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
Django vulnerability
vendor_ubuntu·2025-01-14
CVE-2024-56374 Django vulnerability
Title: Django vulnerability
Summary: Django could be made to cause a denial of service if it received a
specially crafted IPv6 string.
It was discovered that Django incorrectly handled certain IPv6
strings. An attacker could possibly use this issue to cause a
denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
django: potential denial-of-service vulnerability in IPv6 validation
vendor_redhat·2025-01-14·CVSS 5.8
CVE-2024-56374 [MEDIUM] CWE-770 django: potential denial-of-service vulnerability in IPv6 validation
django: potential denial-of-service vulnerability in IPv6 validation
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.)
A flaw was found in the Django framework. 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_add
Debian
CVE-2024-56374: python-django - An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 b...
vendor_debian·2024·CVSS 5.8
CVE-2024-56374 [MEDIUM] CVE-2024-56374: python-django - An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 b...
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.)
Scope: local
bookworm: resolved (fixed in 3:3.2.25-0+deb12u1)
bullseye: resolved (fixed in 2:2.2.28-1~deb11u5)
forky: resolved (fixed in 3:4.2.18-1)
sid: resolved (fixed in 3:4.2.18-1)
trixie: resolved (fixed in 3:4.2.18-1)
No detection rules found.
No public exploits indexed.
HackerOne
CVE-2024-56374: Denial-of-service vulnerability in IPv6 validation
hackerone·2025-05-27·CVSS 7.3
CVE-2024-56374 [HIGH] CVE-2024-56374: Denial-of-service vulnerability in IPv6 validation
CVE-2024-56374: Denial-of-service vulnerability in IPv6 validation
Hi IBB Team, :)
I discovered a vulnerability in Django related to `IPv6` validation that could potentially lead to a denial-of-service attack. You can find the details of my report and the assigned (CVE-2024-42005) at the following links:
* https://www.djangoproject.com/weblog/2025/jan/14/security-releases/
* https://github.com/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf#diff-dde021d7427efcb4de60b971a1dbcafb0aa3732f263572be835a311d8be20d96R10
## Impact
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
HackerOne
CVE-2024-56374 Potential denial-of-service in IPv6 validation
hackerone·2025-02-06·CVSS 5.8
CVE-2024-56374 [MEDIUM] CVE-2024-56374 Potential denial-of-service in IPv6 validation
CVE-2024-56374 Potential denial-of-service in IPv6 validation
Hi IBB :)
in Django i found a potential Dos in IPv6 validation.
Due to Lack of upper bound limit enforcement in strings passed in IPv6 validation(`is_valid_ipv6_address,clean_ipv6_address` methods) ,when a large malformed string with repeatable `:` characters like, `abcd:abcd:abcd:.....` is passed that cause huge resource consumption and slower processing which results in denial-of-service attack .
you can see my cve (CVE-2024-56374) with Security Advisory here:
https://www.djangoproject.com/weblog/2025/jan/14/security-releases/
## Impact
With large malformed string passed for IPv6 validation can perform denial-of-service attack.
###CVE-2024-56374: Potential denial-of-service vulnerability in IPv6 validation
Lack of upper
2025-01-14
Published