Ubuntu CVE Tracker
UBUNTU-CVE-2024-27351
Details
In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python-django | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python-django | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python-django | All versions before 1:1.11.11-1ubuntu1.21+esm4 (fixed in 1:1.11.11-1ubuntu1.21+esm4) |
| Ubuntu:20.04:LTS | python-django | All versions before 2:2.2.12-1ubuntu0.22 (fixed in 2:2.2.12-1ubuntu0.22) |
| Ubuntu:22.04:LTS | python-django | All versions before 2:3.2.12-2ubuntu1.11 (fixed in 2:3.2.12-2ubuntu1.11) |
| Ubuntu:24.04:LTS | python-django | All versions before 3:4.2.11-1 (fixed in 3:4.2.11-1) |