Affected versions
Version ranges need review.
PyPIdjango
- Affected versions
- >= 5.0, < 5.0.13
- Fixed version
- 5.0.13
PyPIdjango
- Affected versions
- >=5.1 <5.1.7 || >=5.0 <5.0.13 || >=4.2 <4.2.20
- Fixed version
- 4.2.20 · 5.0.13 · 5.1.7
PyPIdjango
- Affected versions
- >= 4.2, < 4.2.20
- Fixed version
- 4.2.20
PyPIdjango
- Affected versions
- >= 5.1, < 5.1.7
- Fixed version
- 5.1.7
Red HatRed Hat Ansible Automation Platform 2/ansible-automation-platform-25/ee-dellemc-openmanage-rhel8
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Red HatRed Hat Ansible Automation Platform 2/ansible-automation-platform-25/platform-resource-runner-rhel9
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
An issue was discovered in Django 5.1 before 5.1.7, 5.0 before 5.0.13, and 4.2 before 4.2.20. The django.utils.text.wrap() method and wordwrap template filter are subject to a potential denial-of-service attack when used with very long strings.
Links
- http://www.openwall.com/lists/oss-security/2025/03/06/12
- https://docs.djangoproject.com/en/dev/releases/security
- https://docs.djangoproject.com/en/dev/releases/security/
- https://github.com/advisories/GHSA-p3fp-8748-vqfq
- https://github.com/django/django/commit/4f2765232336b8ad0afd8017d9d912ae93470017
- https://github.com/django/django/commit/8dbb44d34271637099258391dfc79df33951b841
- https://github.com/django/django/commit/e88f7376fe68dbf4ebaf11fad1513ce700b45860
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-13.yaml
- https://groups.google.com/g/django-announce
- https://lists.debian.org/debian-lts-announce/2025/03/msg00012.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-26699
- https://www.djangoproject.com/weblog/2025/mar/06/security-releases
- https://www.djangoproject.com/weblog/2025/mar/06/security-releases/
Credits
- Cao150702

