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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-27346Kofax Power PDF PDF File Parsing Out-Of-Bounds Read Informat…5.5
- CVE-2024-27347Server-Side Request Forgery (SSRF) vulnerability in Apache H…5.3
- CVE-2024-27348RCE-Remote Command Execution vulnerability in Apache HugeGra…9.8
- CVE-2024-27349Authentication Bypass by Spoofing vulnerability in Apache Hu…9.1
- CVE-2024-2735The Bold Page Builder plugin for WordPress is vulnerable to …5.4
- CVE-2024-27350Amazon Fire OS 7 before 7.6.6.9 and 8 before 8.1.0.3 allows …5.9
- CVE-2024-27353A memory corruption vulnerability in SdHost and SdMmcDevice …7.4
- CVE-2024-27354An issue was discovered in phpseclib 1.x before 1.0.23, 2.x …7.5
- CVE-2024-27355An issue was discovered in phpseclib 1.x before 1.0.23, 2.x …7.5
- CVE-2024-27356An issue was discovered on certain GL-iNet devices. Attacker…7.5
- CVE-2024-27357An issue was discovered in WithSecure Elements Agent through…5.8
- CVE-2024-27358An issue was discovered in WithSecure Elements Agent through…3.3
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
