PT-2023-6558 · Django+6 · Django+6

Publicado

2023-10-04

·

Atualizado

2026-01-03

·

CVE-2023-43665

CVSS v4.0

8.7

Alta

VetorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Django versions 3.2 before 3.2.22 Django versions 4.1 before 4.1.12 Django versions 4.2 before 4.2.6
Description The issue is related to the django.utils.text.Truncator chars() and words() methods when used with html=True, which can be subject to a potential denial of service attack via certain inputs with very long, potentially malformed HTML text. This can allow a remote attacker to cause a denial of service under certain conditions. The chars() and words() methods are used to implement the truncatechars html and truncatewords html template filters, which are also vulnerable.
Recommendations For Django versions 3.2 before 3.2.22, update to version 3.2.22 or later. For Django versions 4.1 before 4.1.12, update to version 4.1.12 or later. For Django versions 4.2 before 4.2.6, update to version 4.2.6 or later. As a temporary workaround, consider disabling the truncatechars html and truncatewords html template filters until a patch is available. Restrict access to the django.utils.text.Truncator methods to minimize the risk of exploitation. Avoid using the html=True parameter in the affected methods until the issue is resolved.

Correção

DoS

Resource Exhaustion

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2023-6171
ALT-PU-2023-6172
ALT-PU-2023-6239
BDU:2023-07321
BIT-DJANGO-2023-43665
CVE-2023-43665
DLA-4210-1
GHSA-H8GC-PGJ2-VJM3
OESA-2023-1722
OPENSUSE-SU-2023:0309-1
OPENSUSE-SU-2023:0310-1
OPENSUSE-SU-2023:0389-1
OPENSUSE-SU-2023:0390-1
OPENSUSE-SU-2024:13334-1
OPENSUSE-SU-2024:14208-1
OPENSUSE-SU-2026:10005-1
PYSEC-2023-226
RHSA-2023:5758
RHSA-2023:6158
RHSA-2024:1536
RHSA-2024:1878
RHSA-2024:2010
SUSE-SU-2023:4232-1
SUSE-SU-2023:4426-1
USN-6414-1
USN-6414-2

Produtos afetados

Alt Linux
Astra Linux
Debian
Django
Linuxmint
Red Os
Ubuntu