CVE-2024-56374An 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…
- 5.8MediumCVSS base score
- 1.3%Exploitation in 30 daysEPSS · top 30% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.)
Timeline
ID reserved
By mitre
- 23 days later
· 23 days later
Published
- 29 days later
· 29 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| mitreCNA (assigner) | 3.1 | Medium5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
| NVDNVD · Analyzed | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.3% · top 30% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.8.
Affected products
- affected 4.2 – < 4.2.18
- affected 5.0 – < 5.0.11
- affected 5.1 – < 5.1.5
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-qcgg-j2x8-h9g8 (opens in a new tab)
- PyPIdjangoGHSA-qcgg-j2x8-h9g8 (opens in a new tab)
References
References5
- https://docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)
- https://groups.google.com/g/django-announce (opens in a new tab)
- https://www.djangoproject.com/weblog/2025/jan/14/security-releases/ (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/01/14/2 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00024.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-0001 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qcgg-j2x8-h9g8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-56374)Record last updated .