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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-1872-1 | python-django security update |
Debian DLA |
DLA-4210-1 | python-django security update |
Debian DSA |
DSA-4498-1 | python-django security update |
EUVD |
EUVD-2019-0035 | 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. |
Github GHSA |
GHSA-c4qh-4vgv-qc6g | Django Denial-of-service in django.utils.text.Truncator |
Ubuntu USN |
USN-4084-1 | Django vulnerabilities |
References
History
Wed, 16 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T00:12:42.892Z
Reserved: 2019-07-22T00:00:00.000Z
Link: CVE-2019-14232
Updated: 2024-08-05T00:12:42.892Z
Status : Modified
Published: 2019-08-02T15:15:11.880
Modified: 2024-11-21T04:26:15.113
Link: CVE-2019-14232
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
EUVD
Github GHSA
Ubuntu USN