CVE-2019-14232: Input Validation

Published Jul 30, 2019
·
Updated

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 truncatecharshtml and truncatewordshtml template filters, which were thus vulnerable.

Other sources

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 truncatecharshtml and truncatewordshtml template filters, which were thus vulnerable.

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 :tfilter:truncatecharshtml and :tfilter:truncatewordshtml template filters, which were thus vulnerable.

Red Hat

Affected Software

15 affected componentsFixes available
debian/1.7.11-1+deb8u6<=undefined
debian/2:2.2.3-5<=undefined
debian/python-django
1:1.11.29-1~deb10u11:1.11.29-1+deb10u102:2.2.28-1~deb11u23:3.2.19-1+deb12u13:3.2.21-13:4.2.6-1
redhat/python-django<0:1.11.27-1.el7
0:1.11.27-1.el7
redhat/python-django<0:2.1.11-1.el8
0:2.1.11-1.el8
redhat/python-django<1.11.23
1.11.23
redhat/python-django<2.1.11
2.1.11
redhat/python-django<2.2.4
2.2.4
pip/Django>=2.2a1<2.2.4
2.2.4
pip/Django>=2.1a1<2.1.11
2.1.11
pip/Django>=1.11a1<1.11.23
1.11.23
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

Event History

Aug 1, 2019
CVE Published
08:00 AM
Aug 2, 2019
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 6, 2019
Advisory Published
via GitHub·01:43 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2019-14232?

CVE-2019-14232 is a vulnerability in Django versions 1.11.x, 2.1.x, and 2.2.x.

2

How severe is CVE-2019-14232?

CVE-2019-14232 has a severity score of 7.5 (High).

3

Which versions of Django are affected by CVE-2019-14232?

Django versions 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4 are affected by CVE-2019-14232.

4

How can I fix CVE-2019-14232?

To fix CVE-2019-14232, upgrade to Django version 1.11.23, 2.1.11, or 2.2.4.

5

Where can I find more information about CVE-2019-14232?

You can find more information about CVE-2019-14232 on the CVE website (https://www.cve.org/CVERecord?id=CVE-2019-14232), the NVD website (https://nvd.nist.gov/vuln/detail/CVE-2019-14232), the Django website (https://www.djangoproject.com/weblog/2019/aug/01/security-releases/), and the Red Hat Bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1734405).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203