CVE-2024-27351

python3-django: In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, thedjango.utils.text.Truncator.words() method (...

CVE-2024-27351 is fixed in 3 products on 1 platform, first by python-django 1:1.11.11-1ubuntu1.21+esm4, released March 4, 2024. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.3
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0185
79th percentile

In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, thedjango.utils.text.Truncator.words() method (with html=True) and thetruncatewords_html template filter are subject to a potential regularexpression denial-of-service attack via a crafted string. NOTE: this issueexists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.

Where it's fixed

ProductFixed inFixReleased
Linux
python-django · Debian 12.15 (bookworm) 3:3.2.25-0+deb12u1 DEBIAN-CVE-2024-27351 Mar 15, 2024
python-django · Debian 13.5 (trixie) 3:4.2.11-1 DEBIAN-CVE-2024-27351 Mar 15, 2024
python-django · Debian 14 3:4.2.11-1 DEBIAN-CVE-2024-27351 Mar 15, 2024
python-django · Ubuntu 18.04.6 LTS (bionic) 1:1.11.11-1ubuntu1.21+esm4 python-django 1:1.11.11-1ubuntu1.21+esm4 Mar 4, 2024
python-django-common · Ubuntu 18.04.6 LTS (bionic) 1:1.11.11-1ubuntu1.21+esm4 python-django-common 1:1.11.11-1ubuntu1.21+esm4 Mar 4, 2024
python3-django · Ubuntu 18.04.6 LTS (bionic) 1:1.11.11-1ubuntu1.21+esm4 python3-django 1:1.11.11-1ubuntu1.21+esm4 Mar 4, 2024
python3-django · Ubuntu 20.04 LTS (focal) 2:2.2.12-1ubuntu0.22 python3-django 2:2.2.12-1ubuntu0.22 Mar 4, 2024
python3-django · Ubuntu 22.04.1 LTS (jammy) 2:3.2.12-2ubuntu1.11 python3-django 2:3.2.12-2ubuntu1.11 Mar 4, 2024
python3-django · Ubuntu 24.04.5 LTS (noble) 3:4.2.11-1 python3-django 3:4.2.11-1 Mar 4, 2024
python3-django · Ubuntu 24.10 (oracular) 3:4.2.11-1 python3-django 3:4.2.11-1 Jan 16, 2026
python3-django · Ubuntu 25.04 (plucky) 3:4.2.11-1 python3-django 3:4.2.11-1 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.