CVE-2024-27351
Last modified
CVE-2024-27351 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 1.85% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 3.2, < 3.2.25 |
| Djangoproject | Django | >= 4.2, < 4.2.11 |
| Djangoproject | Django | >= 5.0, < 5.0.3 |
References
- https://docs.djangoproject.com/en/5.0/releases/security/Release Notes, Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announcePermissions Required
- https://docs.djangoproject.com/en/5.0/releases/security/Release Notes, Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announcePermissions Required
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-27351?
How severe is CVE-2024-27351?
How do I fix CVE-2024-27351?
Are you affected by CVE-2024-27351?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
