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 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
NISTNIST
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
mitreCNA
---
---
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
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 64%
VendorProductVersion
django-rest-frameworkdjango_rest_framework
5.0.3 <
𝑥
< 5.0.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-django
bullseye
postponed
bookworm
postponed
buster
no-dsa
bullseye (security)
vulnerable
bookworm (security)
vulnerable
sid
3:4.2.21-1
fixed
trixie
3:4.2.21-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-django
plucky
Fixed 3:4.2.11-1
released
oracular
Fixed 3:4.2.11-1
released
noble
Fixed 3:4.2.11-1
released
mantic
Fixed 3:4.2.4-1ubuntu2.2
released
jammy
Fixed 2:3.2.12-2ubuntu1.11
released
focal
Fixed 2:2.2.12-1ubuntu0.22
released
bionic
Fixed 1:1.11.11-1ubuntu1.21+esm4
released
xenial
needs-triage
trusty
needs-triage