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.)
History

Wed, 15 Jan 2025 02:00:00 +0000

Type Values Removed Values Added
Title django: potential denial-of-service vulnerability in IPv6 validation
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 14 Jan 2025 19:45:00 +0000

Type Values Removed Values Added
References

Tue, 14 Jan 2025 19:15:00 +0000

Type Values Removed Values Added
Description 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.)
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2025-01-14T00:00:00

Updated: 2025-01-14T19:07:03.855Z

Reserved: 2024-12-22T00:00:00

Link: CVE-2024-56374

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-01-14T19:15:32.510

Modified: 2025-01-14T19:15:32.510

Link: CVE-2024-56374

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-01-14T00:00:00Z

Links: CVE-2024-56374 - Bugzilla