CVE-2024-56374

published 14 Jan 2025 · updated 12 Feb 2025

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

5.8MediumCVSS 5.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 4.2.18, 5.0.11 and 5.1.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.)

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
djangoproject>=4.2 <4.2.18, >=5.0 <5.0.11, >=5.1 <5.1.54.2.18, 5.0.11, 5.1.5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56374 severity on Zeptric[![CVE-2024-56374](https://zeptric.io/badge/cve/CVE-2024-56374.svg)](https://zeptric.io/cve/CVE-2024-56374)