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.
Published: 2019-08-02
Score: 7.5 High
EPSS: 3.0% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 Debian DLA DLA-1872-1 python-django security update
Debian DLA Debian DLA DLA-4210-1 python-django security update
Debian DSA Debian DSA DSA-4498-1 python-django security update
EUVD 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 Github GHSA GHSA-c4qh-4vgv-qc6g Django Denial-of-service in django.utils.text.Truncator
Ubuntu USN Ubuntu USN USN-4084-1 Django vulnerabilities
History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.02473}

epss

{'score': 0.0254}


Subscriptions

Djangoproject Django
Opensuse Leap
Redhat Openstack
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T00:12:42.892Z

Reserved: 2019-07-22T00:00:00.000Z

Link: CVE-2019-14232

cve-icon Vulnrichment

Updated: 2024-08-05T00:12:42.892Z

cve-icon NVD

Status : Modified

Published: 2019-08-02T15:15:11.880

Modified: 2024-11-21T04:26:15.113

Link: CVE-2019-14232

cve-icon Redhat

Severity : Moderate

Publid Date: 2019-08-01T08:00:00Z

Links: CVE-2019-14232 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses