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 over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- groups.google.com/forum/ (Permissions Required)
- docs.djangoproject.com/en/5.0/releases/security/ (Release Notes, Vendor Advisory)
- www.djangoproject.com/weblog/2024/mar/04/security-releases/ (Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Broken Link)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Broken Link)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Broken Link)
- www.openwall.com/lists/oss-security/2024/03/04/1 (mailing-list, Mailing List)
- af854a3a-2127-422b-91ae-364da2661108 (Patch)
- af854a3a-2127-422b-91ae-364da2661108 (Patch)
- af854a3a-2127-422b-91ae-364da2661108 (Patch)
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.