CVE-2024-56374

unknown
Published 2025-01-14 · Modified 2025-03-10
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
CVSS v2
VIR risk

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

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-56374

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-56374.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed3:3.2.25-0+deb12u1
debian debianbullseyefixed2:2.2.28-1~deb11u5
debian debianforkyfixed3:4.2.18-1
debian debiansidfixed3:4.2.18-1
debian debiantrixiefixed3:4.2.18-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=5.1,<5.1.55.1.5
python PyPIdjango>=5.0,<5.0.115.0.11
python PyPIdjango>=4.2,<4.2.184.2.18

References

Verify integrity in audit chain (admin only). AS-IS.