PT-2019-5099

CVE-2019-14232

·

Published

2019-08-01

·

Updated

2026-10-31

Description by

CVSS 4.0
8.7
High
MetricsAV: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.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-C4QH-4VGV-QC6G
ALT-PU-2019-2364
ALT-PU-2019-2365
ALT-PU-2019-2367
CLEANSTART-2025-PD12989
DLA-1872-1
DLA-4210-1
DSA-4498-1
OPENSUSE-SU-2019:1839-1
OPENSUSE-SU-2019_1839-1
OPENSUSE-SU-2019:1872-1
OPENSUSE-SU-2024:11205-1
OPENSUSE-SU-2024:13887-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-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
Found an issue in the description? Have something to add? Feel free to write us 👾