djangoproject Django
At a glance
- Source
- NVD
- EPSS
- EPSS 1.28 % Β· percentile 70 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD 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.)
Weaknesses (CWE)
- CWE-770 β Allocation of Resources Without Limits or Throttling
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L | mitre |
| CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L | NVD Β· cve@mitre.org (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-qcgg-j2x8-h9g8 β Django has a potential denial-of-service vulnerability in IPv6 validation
- PYSEC-2025-1 β 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 perfo
European references
- ENISA EUVD Β· EUVD-2025-0001
- GCVE Β· GCVE-0-2024-56374
Affected configurations (NVD CPE)
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*β₯ 4.2 < 4.2.18cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*β₯ 5.0 < 5.0.11cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*β₯ 5.1 < 5.1.5cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| djangoproject Β· Django | affected 4.2 < 4.2.18 ; affected 5.0 < 5.0.11 ; affected 5.1 < 5.1.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |