CVE-2023-43665

Publication date 4 October 2023

Last updated 19 August 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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.

Status

Package Ubuntu Release Status
python-django 26.04 LTS resolute
Fixed 3:4.2.4-1ubuntu2
25.10 questing
Fixed 3:4.2.4-1ubuntu2
25.04 plucky
Fixed 3:4.2.4-1ubuntu2
24.10 oracular
Fixed 3:4.2.4-1ubuntu2
24.04 LTS noble
Fixed 3:4.2.4-1ubuntu2
23.10 mantic
Fixed 3:4.2.4-1ubuntu2
23.04 lunar
Fixed 3:3.2.18-1ubuntu0.5
22.04 LTS jammy
Fixed 2:3.2.12-2ubuntu1.9
20.04 LTS focal
Fixed 2:2.2.12-1ubuntu0.20
18.04 LTS bionic
Fixed 1:1.11.11-1ubuntu1.21+esm2
16.04 LTS xenial Ignored end of standard support
14.04 LTS trusty Ignored end of standard support

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

Other references


Access our resources on patching vulnerabilities