{"cve":"CVE-2024-56374","nvd":{"published":"2025-01-14T19:15:32.510","modified":"2026-06-17T08:12:08.040","status":"Analyzed","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.)","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://www.djangoproject.com/weblog/2025/jan/14/security-releases/","http://www.openwall.com/lists/oss-security/2025/01/14/2","https://lists.debian.org/debian-lts-announce/2025/01/msg00024.html"],"products":["debian:debian_linux","djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T21:58:20.756570362+00:00"},"epss":{"cve":"CVE-2024-56374","score":0.01277,"percentile":0.69969,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qcgg-j2x8-h9g8","url":"https://osv.dev/vulnerability/GHSA-qcgg-j2x8-h9g8","summary":"Django has a potential denial-of-service vulnerability in IPv6 validation","modified":"2026-09-10T03:50:22.125731749Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.1 <5.1.5"],"fixed":["5.1.5"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.0 <5.0.11"],"fixed":["5.0.11"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2 <4.2.18"],"fixed":["4.2.18"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.1 <5.1.5"],"fixed":["5.1.5"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.0 <5.0.11"],"fixed":["5.0.11"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2 <4.2.18"],"fixed":["4.2.18"]}]},{"id":"PYSEC-2025-1","url":"https://osv.dev/vulnerability/PYSEC-2025-1","summary":"","modified":"2026-06-10T17:01:06.456982450Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.1 <5.1.5",">=5.0 <5.0.11",">=4.2 <4.2.18"],"fixed":["5.1.5","5.0.11","4.2.18"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}