CVE-2024-27351

Publication date 4 March 2024

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

5.3 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
python-django 25.04 plucky
Fixed 3:4.2.11-1
24.10 oracular
Fixed 3:4.2.11-1
24.04 LTS noble
Fixed 3:4.2.11-1
23.10 mantic
Fixed 3:4.2.4-1ubuntu2.2
22.04 LTS jammy
Fixed 2:3.2.12-2ubuntu1.11
20.04 LTS focal
Fixed 2:2.2.12-1ubuntu0.22
18.04 LTS bionic
Fixed 1:1.11.11-1ubuntu1.21+esm4
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty
Needs evaluation

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

Severity score breakdown

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

References

Related Ubuntu Security Notices (USN)

Other references