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:truncatechars_html and :tfilter:truncatewords_html template filters, which were thus vulnerable.
Created python-django tracking bugs for this issue: Affects: epel-7 [bug 1735768] Affects: fedora-29 [bug 1735770] Affects: fedora-30 [bug 1735771] Created python-django16 tracking bugs for this issue: Affects: epel-7 [bug 1735769]
External References: https://www.djangoproject.com/weblog/2019/aug/01/security-releases/
Upstream Patches for master branch, 1.11, 2.1 and 2.2 releases: https://github.com/django/django/commit/7f65974f8219729c047fbbf8cd5cc9d80faefe77 https://github.com/django/django/commit/42a66e969023c00536256469f0e8b8a099ef109d https://github.com/django/django/commit/c23723a1551340cc7d3126f04fcfd178fa224193 https://github.com/django/django/commit/c3289717c6f21a8cf23daff1c78c0c014b94041f
Created python-django tracking bugs for this issue: Affects: openstack-rdo [bug 1746612]
Acknowledgments: Name: the Django project
Statement: This issue affects the versions of python-django as shipped with Red Hat Gluster Storage 3, Red Hat Ceph Storage 2 and 3, as it contains the vulnerable code. This issue affects Red Hat Update Infrastructure for Cloud Providers, but the vulnerable functions in python-django are currently not used in any part of the Product. This issue does not affect Red Hat Satellite as the vulnerable functions in python-django are not used. Red Hat OpenStack Platform: * This issue affects all versions of python-django shipped with Red Hat Openstack Platform versions 9-15, as it contains the vulnerable code. * Because the flaw's impact is Medium, it will not be fixed in Red Hat Openstack Platform 9 which is retiring on 8/24.
This issue has been addressed in the following products: Red Hat OpenStack Platform 15.0 (Stein) Via RHSA-2020:1324 https://access.redhat.com/errata/RHSA-2020:1324
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-14232
This issue has been addressed in the following products: Red Hat OpenStack Platform 13.0 (Queens) Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.6 EUS Via RHSA-2020:4390 https://access.redhat.com/errata/RHSA-2020:4390