CVE-2019-14232
- State
- Published
- Severity
- 7.5 High
- Published
- Aug 2, 2019
- Updated
- Aug 5, 2024
- Reserved
- Jul 22, 2019
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Weaknesses
- CWE-400 Uncontrolled Resource Consumption
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/forum/#%21topic/django-announce/jIoju2-KLDs
- https://www.djangoproject.com/weblog/2019/aug/01/security-releases/
- openSUSE-SU-2019:1839vendor-advisory
- 20190812 [SECURITY] [DSA 4498-1] python-django security updatemailing-list
- DSA-4498vendor-advisory
- openSUSE-SU-2019:1872vendor-advisory
- FEDORA-2019-647f74ce51vendor-advisory
- https://security.netapp.com/advisory/ntap-20190828-0002/
- GLSA-202004-17vendor-advisory
- [oss-security] 20231004 Django: CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncatormailing-list
- [oss-security] 20240304 Django: CVE-2024-27351: Potential regular expression denial-of-service in django.utils.text.Truncator.words()mailing-list
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.