PT-2019-5099 · Django+3 · Django+3

Guido Vranken

+1

·

Publicado

2019-08-01

·

Atualizado

2026-01-03

·

CVE-2019-14232

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 1.11.x through 1.11.22 Django versions 2.1.x through 2.1.10 Django versions 2.2.x through 2.2.3
Description The issue is related to the django.utils.text.Truncator class, specifically the chars() and words() methods. When these methods are passed the html=True argument, they can be extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. This vulnerability can be exploited to cause a denial of service. The chars() and words() methods are used to implement the truncatechars html and truncatewords html template filters.
Recommendations For Django versions 1.11.x through 1.11.22, update to version 1.11.23 or later. For Django versions 2.1.x through 2.1.10, update to version 2.1.11 or later. For Django versions 2.2.x through 2.2.3, update to version 2.2.4 or later. As a temporary workaround, consider avoiding the use of the html=True argument in the chars() and words() methods until a patch is available.

Correção

RCE

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-2019-2364
ALT-PU-2019-2365
ALT-PU-2019-2367
BDU:2020-01765
CVE-2019-14232
DLA-1872-1
DLA-4210-1
DSA-4498-1
GHSA-C4QH-4VGV-QC6G
OPENSUSE-SU-2019:1839-1
OPENSUSE-SU-2019:1872-1
OPENSUSE-SU-2019_1839-1
OPENSUSE-SU-2024:11205-1
OPENSUSE-SU-2024:13887-1
OPENSUSE-SU-2024:14208-1
OPENSUSE-SU-2026:10005-1
PYSEC-2019-11
RHSA-2020:1324
RHSA-2020:4390
SUSE-SU-2019:2180-1
SUSE-SU-2019:2257-1
SUSE-SU-2019:2335-1
USN-4084-1

Produtos afetados

Alt Linux
Django
Suse
Ubuntu