CVE-2023-43665
Last modified
CVE-2023-43665 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. EPSS estimates a 1.24% chance of exploitation in the next 30 days.
Description
In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 3.2, < 3.2.22 |
| Djangoproject | Django | >= 4.1, < 4.1.12 |
| Djangoproject | Django | >= 4.2, < 4.2.6 |
| Fedoraproject | Fedora | 39 |
References
- https://docs.djangoproject.com/en/4.2/releases/security/Patch, Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announcePermissions Required
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HJFRPUHDYJHBH3KYHSPGULQM4JN7BMSU/Mailing List, Third Party Advisory
- https://docs.djangoproject.com/en/4.2/releases/security/Patch, Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announcePermissions Required
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HJFRPUHDYJHBH3KYHSPGULQM4JN7BMSU/Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-43665?
How severe is CVE-2023-43665?
How do I fix CVE-2023-43665?
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 2023
- CVE-2023-4366Use after free in Extensions in Google Chrome prior to 116.0…8.8
- CVE-2023-43660Warpgate is a smart SSH, HTTPS and MySQL bastion host for Li…8.1
- CVE-2023-43661Cachet, the open-source status page system. Prior to the 2.4…8.8
- CVE-2023-43662ShokoServer is a media server which specializes in organizin…8.6
- CVE-2023-43663PrestaShop is an Open Source e-commerce web application. In …4.3
- CVE-2023-43664PrestaShop is an Open Source e-commerce web application. In …4.3
- CVE-2023-43666Insufficient Verification of Data Authenticity vulnerability…6.5
- CVE-2023-43667Improper Neutralization of Special Elements in Output Used b…7.5
- CVE-2023-43668Authorization Bypass Through User-Controlled Key vulnerabili…9.8
- CVE-2023-43669The Tungstenite crate before 0.20.1 for Rust allows remote a…7.5
- CVE-2023-4367Insufficient policy enforcement in Extensions API in Google …6.5
- CVE-2023-4368Insufficient policy enforcement in Extensions API in Google …8.8
Are you affected by CVE-2023-43665?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
