CVE-2023-43665
Published: 4 October 2023
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.
Priority
Status
Package | Release | Status |
---|---|---|
python-django Launchpad, Ubuntu, Debian |
bionic |
Released
(1:1.11.11-1ubuntu1.21+esm2)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
focal |
Released
(2:2.2.12-1ubuntu0.20)
|
|
jammy |
Released
(2:3.2.12-2ubuntu1.9)
|
|
lunar |
Released
(3:3.2.18-1ubuntu0.5)
|
|
mantic |
Released
(3:4.2.4-1ubuntu2)
|
|
noble |
Released
(3:4.2.4-1ubuntu2)
|
|
trusty |
Needs triage
|
|
upstream |
Released
(4.2.6,4.1.12,3.2.22)
|
|
xenial |
Needs triage
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |