CVE-2024-56374Django has a potential denial-of-service vulnerability in IPv6 validation
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.7%
- percentile 78%
- Fix
- Named by a source
- CVE published 14 Jan 2025
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.7% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 5.1.5 / 5.0.11 / 4.2.18 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/4806731e58f3e8700a3c802e77899d54ac6021fe
- Commit / pull request: https://github.com/django/django/commit/ad866a1ca3e7d60da888d25d27e46a8adb2ed36e
- Commit / pull request: https://github.com/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf
- Commit / pull request: https://github.com/django/django/commit/e8d4a2005955dcf962193600b53bf461b190b455
- Advisory: https://docs.djangoproject.com/en/dev/releases/security/
- Advisory: https://groups.google.com/g/django-announce
- Advisory: https://www.djangoproject.com/weblog/2025/jan/14/security-releases/
- Advisory: http://www.openwall.com/lists/oss-security/2025/01/14/2
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 5.1, < 5.1.5Fixed in5.1.5OSV (PYSEC-2025-1)
- Affected>= 5.0, < 5.0.11Fixed in5.0.11OSV (PYSEC-2025-1)
- Affected>= 4.2, < 4.2.18Fixed in4.2.18OSV (PYSEC-2025-1)
debian debian linux product:debian/debianlinux
- Affected11.0Fixed innot namedas published by CPE data (via the NVD API)
djangoproject django product:djangoproject/django
- Affected>= 4.2, < 4.2.18Affected range ends before4.2.18as published by CNA (CVE List)
- Affected>= 5.0, < 5.0.11Affected range ends before5.0.11as published by CNA (CVE List)
- Affected>= 5.1, < 5.1.5Affected range ends before5.1.5as published by CNA (CVE List)
- Affected>= 4.2, < 4.2.18Affected range ends before4.2.18as published by CPE data (via the NVD API)
- Affected>= 5.0, < 5.0.11Affected range ends before5.0.11as published by CPE data (via the NVD API)
- Affected>= 5.1, < 5.1.5Affected range ends before5.1.5as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-770
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.)
Update history
- 14 Jan 2025Published
References
- advisoryhttps://docs.djangoproject.com/en/dev/releases/security/
- advisoryhttps://groups.google.com/g/django-announce
- advisoryhttps://www.djangoproject.com/weblog/2025/jan/14/security-releases/
- advisoryhttp://www.openwall.com/lists/oss-security/2025/01/14/2
- advisoryhttps://lists.debian.org/debian-lts-announce/2025/01/msg00024.html
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-56374
- commit / pull requesthttps://github.com/django/django/commit/4806731e58f3e8700a3c802e77899d54ac6021fe
- commit / pull requesthttps://github.com/django/django/commit/ad866a1ca3e7d60da888d25d27e46a8adb2ed36e
- commit / pull requesthttps://github.com/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf
- commit / pull requesthttps://github.com/django/django/commit/e8d4a2005955dcf962193600b53bf461b190b455
- otherhttps://docs.djangoproject.com/en/dev/releases/security
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-1.yaml
- otherhttps://www.djangoproject.com/weblog/2025/jan/14/security-releases
- advisoryhttps://github.com/advisories/GHSA-qcgg-j2x8-h9g8
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2024-56374 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-qcgg-j2x8-h9g8 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2025-1 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 26 min ago · osv 26 min ago · nvd 87 min ago · epss 26 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2024-56374, GHSA-qcgg-j2x8-h9g8, PYSEC-2025-1