cbcvebase.
CVE-2018-7537
published 2018-03-09

CVE-2018-7537: An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods…

PriorityP431medium5.3CVSS 3.0
AVNACLPRNUINSUCNINAL
EPSS
4.62%
90.5th percentile
An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. 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.

Affected

13 ranges
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debiandebian_linux
debianpython-django< python-django 1:1.11.11-1 (bookworm)python-django 1:1.11.11-1 (bookworm)
djangoprojectdjango>= 1.11 < 1.11.111.11.11
djangoprojectdjango>= 1.11 < 1.11.111.11.11
djangoprojectdjango>= 1.8 < 1.8.191.8.19
djangoprojectdjango>= 1.8 < 1.8.191.8.19
djangoprojectdjango>= 2.0 < 2.0.32.0.3
djangoprojectdjango>= 2.0 < 2.0.32.0.3

CVSS provenance

nvdv3.05.3MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.