PT-2023-6558

CVE-2023-43665

·

Publicado

2023-10-04

·

Atualizado

2026-10-31

Descrição por

CVSS 4.0
8.7
Alta
MétricasAV: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.
Explorabilidade
Exploit
Correção
Impactos
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-H8GC-PGJ2-VJM3
ALT-PU-2023-6171
ALT-PU-2023-6172
ALT-PU-2023-6239
BIT-DJANGO-2023-43665
CLEANSTART-2024-HW28548
DLA-4210-1
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
OPENSUSE-SU-2026:11235-1
OPENSUSE-SU-2026:11248-1
OPENSUSE-SU-2026:11270-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
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾