CVEvulnerability

CVE-2019-14232

7.5 HIGH Published 2019-08-02 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-08-02
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0 ([email protected])
7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
CWE-400

Description

An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.

Affected configurations

• djangoproject django (>= 1.11 < 1.11.23) • djangoproject django (>= 2.1 < 2.1.11) • djangoproject django (>= 2.2 < 2.2.4) • opensuse leap 15.1

Related

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References