Vulnerability in Djangoproject Django

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.

Vulnerability class: ReDoS (Regular Expression Denial of Service)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS: 0.019 (78.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 78th percentile — 78.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-27351: held from 0.019 to 0.019.

EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-27351?
CVE-2024-27351 is a medium-severity vulnerability in Djangoproject Django, classified under Inefficient Regular Expression Complexity. CVSS score: 5.3/10. Published 2024-03-15.
How severe is CVE-2024-27351?
Medium severity. CVSS v3 base score is 5.3 out of 10.
Is CVE-2024-27351 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.