Vulnerabilities · 2019 · Djangoproject
CVE-2019-14232
Djangoproject Django vulnerability
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 products
Django, Leap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.djangoproject.com/en/dev/releases/security/ · Patch
- www.djangoproject.com/weblog/2019/aug/01/security-releases/ · Vendor Advisory
- lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html
- www.openwall.com/lists/oss-security/2023/10/04/6
- www.openwall.com/lists/oss-security/2024/03/04/1
- groups.google.com/forum/#%21topic/django-announce/jIoju2-KLDs
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S
- nvd.nist.gov/vuln/detail/CVE-2019-14232
- cve.org/CVERecord?id=CVE-2019-14232
More vulnerabilities in Djangoproject products
CVE-2026-1312CVE-2026-1287CVE-2026-1285CVE-2026-1207CVE-2025-64460CVE-2025-64459CVE-2025-64458CVE-2025-59682All 137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.