cbcvebase.
CVE-2024-27351
published 2024-03-15

CVE-2024-27351: In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the…

PriorityP426medium5.3CVSS 3.1
AVNACHPRNUIRSUCNINAH
EPSS
1.85%
76.6th percentile
In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.

Affected

7 ranges
VendorProductVersion rangeFixed in
debianpython-django< python-django 3:3.2.25-0+deb12u1 (bookworm)python-django 3:3.2.25-0+deb12u1 (bookworm)
djangoprojectdjango>= 3.2 < 3.2.253.2.25
djangoprojectdjango>= 3.2 < 3.2.253.2.25
djangoprojectdjango>= 4.2 < 4.2.114.2.11
djangoprojectdjango>= 4.2 < 4.2.114.2.11
djangoprojectdjango>= 5.0 < 5.0.35.0.3
djangoprojectdjango>= 5.0 < 5.0.35.0.3

CVSS provenance

nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
ghsa7.5HIGH
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
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.