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)
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.035, 89.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Djangoproject Django
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, kvesta/vesta, SmongsDev/OWASP_SCANNER, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- docs.djangoproject.com/en/dev/releases/security/ (Patch, Vendor Advisory)
- groups.google.com/forum/
- www.djangoproject.com/weblog/2019/aug/01/security-releases/ (Vendor Advisory)
- openSUSE-SU-2019:1839 (vendor-advisory, Third Party Advisory)
- 20190812 [SECURITY] [DSA 4498-1] python-django security update (mailing-list)
- DSA-4498 (vendor-advisory)
- openSUSE-SU-2019:1872 (vendor-advisory)
- FEDORA-2019-647f74ce51 (vendor-advisory)
- security.netapp.com/advisory/ntap-20190828-0002/
- GLSA-202004-17 (vendor-advisory)