CVE-2024-27351

EUVD-2024-0039
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.3 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
CISA-ADPADP
5.3 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 82%
Affected Products (NVD)
VendorProductVersion
django-rest-frameworkdjango_rest_framework
5.0.3 <
𝑥
< 5.0.3
djangoprojectdjango
3.2 ≤
𝑥
< 3.2.25
djangoprojectdjango
4.2 ≤
𝑥
< 4.2.11
djangoprojectdjango
5.0 ≤
𝑥
< 5.0.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-django
bookworm
postponed
bookworm (security)
vulnerable
bullseye
vulnerable
bullseye (security)
2:2.2.28-1~deb11u10
fixed
buster
no-dsa
forky
3:4.2.27-2
fixed
sid
3:4.2.27-2
fixed
trixie
3:4.2.23-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-django
bionic
Fixed 1:1.11.11-1ubuntu1.21+esm4
released
focal
Fixed 2:2.2.12-1ubuntu0.22
released
jammy
Fixed 2:3.2.12-2ubuntu1.11
released
mantic
Fixed 3:4.2.4-1ubuntu2.2
released
noble
Fixed 3:4.2.11-1
released
oracular
Fixed 3:4.2.11-1
released
plucky
Fixed 3:4.2.11-1
released
questing
Fixed 3:4.2.11-1
released
trusty
needs-triage
xenial
needs-triage
References