Severity
7.5HIGHNVD
EPSS
3.0%
top 13.34%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 2
Latest updateApr 28

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

NVDdjangoproject/django1.111.11.23+2
PyPIdjangoproject/django1.11a11.11.23+2
NVDopensuse/leap15.1

Patches

🔴Vulnerability Details

7
GHSA
Regular expression denial-of-service in Django2024-03-15
GHSA
Django Denial-of-service in django.utils.text.Truncator2023-11-03
OSV
Django Denial-of-service in django.utils.text.Truncator2019-08-06
GHSA
Django Denial-of-service in django.utils.text.Truncator2019-08-06
OSV
CVE-2019-14232: An issue was discovered in Django 12019-08-02

📋Vendor Advisories

5
Red Hat
python-django: Potential regular expression denial-of-service in django.utils.text.Truncator.words()2024-03-04
Red Hat
python-django: Denial-of-service possibility in django.utils.text.Truncator2023-10-04
Red Hat
Django: backtracking in a regular expression in django.utils.text.Truncator leads to DoS2019-08-01
Ubuntu
Django vulnerabilities2019-08-01
Debian
CVE-2019-14232: python-django - An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, an...2019

💬Community

7
HackerOne
CVE-2024-27351: Potential regular expression denial-of-service in django.utils.text.Truncator.words()2024-04-28
Bugzilla
CVE-2019-14232 python-django: Django: backtracking in a regular expression in django.utils.text.Truncator leads to DoS [openstack-rdo]2019-08-29
Bugzilla
CVE-2019-14232 python-django16: Django: backtracking in a regular expression in django.utils.text.Truncator leads to DoS [epel-7]2019-08-01
Bugzilla
CVE-2019-14232 python-django: Django: backtracking in a regular expression in django.utils.text.Truncator leads to DoS [epel-7]2019-08-01
Bugzilla
CVE-2019-14232 python-django: Django: backtracking in a regular expression in django.utils.text.Truncator leads to DoS [fedora-30]2019-08-01
CVE-2019-14232 — Uncontrolled Resource Consumption | cvebase