Resource exhaustion in Djangoproject Django

CVE-2019-14232

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.

Vulnerability class: DoS (Denial of Service)

EPSS: 0.035 (88.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2019-14232?
CVE-2019-14232 is a high-severity vulnerability in Djangoproject Django, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2019-08-02.
How severe is CVE-2019-14232?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2019-14232 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.