Ubuntu CVE Tracker
UBUNTU-CVE-2023-43665
Details
In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.
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+esm2 (fixed in 1:1.11.11-1ubuntu1.21+esm2) |
| Ubuntu:20.04:LTS | python-django | All versions before 2:2.2.12-1ubuntu0.20 (fixed in 2:2.2.12-1ubuntu0.20) |
| Ubuntu:22.04:LTS | python-django | All versions before 2:3.2.12-2ubuntu1.9 (fixed in 2:3.2.12-2ubuntu1.9) |
| Ubuntu:24.04:LTS | python-django | All versions before 3:4.2.4-1ubuntu2 (fixed in 3:4.2.4-1ubuntu2) |