{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56374","id":"CVE-2024-56374","title":"Django has a potential denial-of-service vulnerability in IPv6 validation","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 djan","descriptionLong":"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.)","published":"2025-01-14T00:00:00.000Z","updated":"2026-11-16T10:45:12.066666953Z","reserved":"2024-12-22T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"mitre"},"metrics":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"mitre"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"mitre.org"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["djangoproject Django"],"affectedProducts":[{"vendor":"djangoproject","product":"Django","defaultStatus":"unknown","versions":[{"lessThan":"4.2.18","status":"affected","version":"4.2","versionType":"custom"},{"lessThan":"5.0.11","status":"affected","version":"5.0","versionType":"custom"},{"lessThan":"5.1.5","status":"affected","version":"5.1","versionType":"custom"}],"platforms":[]}],"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"],"advisory":"GHSA-qcgg-j2x8-h9g8"}],"cwes":["CWE-770"],"aliases":["BIT-django-2024-56374","GHSA-qcgg-j2x8-h9g8","PYSEC-2025-1"],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["Vendor Advisory","web"]},{"url":"https://groups.google.com/g/django-announce","tags":["Vendor Advisory","web"]},{"url":"https://www.djangoproject.com/weblog/2025/jan/14/security-releases/","tags":["Vendor Advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2025/01/14/2","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00024.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56374.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56374","tags":["advisory"]},{"url":"https://github.com/django/django/commit/4806731e58f3e8700a3c802e77899d54ac6021fe","tags":["web"]},{"url":"https://github.com/django/django/commit/ad866a1ca3e7d60da888d25d27e46a8adb2ed36e","tags":["web"]},{"url":"https://github.com/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf","tags":["web"]},{"url":"https://github.com/django/django/commit/e8d4a2005955dcf962193600b53bf461b190b455","tags":["web"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-1.yaml","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2025/jan/14/security-releases","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qcgg-j2x8-h9g8","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01277,"epssPercentile":0.70585,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56374","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56374","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56374","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qcgg-j2x8-h9g8","ok":true,"note":"GHSA-qcgg-j2x8-h9g8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56374","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}