Vulnerabilities

CVE-2024-56374

High 7.5 CVSS 3.1

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

Description as published by the source, in English.

Key facts

Published
2025-01-14
Last modified
2026-06-17
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
1.9 % higher than 77 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
django (PyPI) ≥ 4.2, < 4.2.18 Affected
django (PyPI) ≥ 4.2, < 4.2.18 Affected
django (PyPI) ≥ 5.0, < 5.0.11 Affected
django (PyPI) ≥ 5.0, < 5.0.11 Affected
django (PyPI) ≥ 5.1, < 5.1.5 Affected
django (PyPI) ≥ 5.1, < 5.1.5 Affected
Debian Debian Linux 11.0 Affected
Djangoproject Django ≥ 4.2, < 4.2.18 Affected
Djangoproject Django ≥ 5.0, < 5.0.11 Affected
Djangoproject Django ≥ 5.1, < 5.1.5 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1498.001: Direct Network Flood impact
  • T1498.002: Reflection Amplification impact
  • T1499: Endpoint Denial of Service impact
  • T1499.001: OS Exhaustion Flood impact
  • T1499.002: Service Exhaustion Flood impact
  • T1499.003: Application Exhaustion Flood impact

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities