Vulnerability in Djangoproject Django
CVE-2023-43665
In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.015, 74.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Djangoproject Django
- Fedoraproject Fedora — versions 39
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (1wc/1wc, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/forum/ (Permissions Required)
- docs.djangoproject.com/en/4.2/releases/security/ (Patch, Vendor Advisory)
- www.djangoproject.com/weblog/2023/oct/04/security-releases/ (Vendor Advisory)
- FEDORA-2023-a67af7d8f4 (vendor-advisory, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20231221-0001/
- FEDORA-2024-84fbbbb914 (vendor-advisory)
- [oss-security] 20240304 Django: CVE-2024-27351: Potential regular expression denial-of-service in django.utils.text.Truncator.words() (mailing-list)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…