Read the docs
TI-2023-23390 Aliases CVE-2023-43665GHSA-h8gc-pgj2-vjm3

In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the…

Priority LOW 36CWE-1284Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 5 fixed, 5 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

Summary

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.

Why it matters now

EPSS 0.01462 73rd percentileScored 2026-11-07
Fix Partial Django (PyPI): 3.2.22, 4.1.12, 4.2.6Red Hat: 5 advisoriesRed Hat: 5 fixed, 5 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Django (PyPI)3.2a1 to before 3.2.223.2.22Patch availableGHSA-h8gc-pgj2-vjm3
—Django (PyPI)4.1a1 to before 4.1.124.1.12Patch availableGHSA-h8gc-pgj2-vjm3
—Django (PyPI)4.2a1 to before 4.2.64.2.6Patch availableGHSA-h8gc-pgj2-vjm3
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Django (PyPI) Vendor— Affected 3.2a1 to before 3.2.22 Fixed in 3.2.22 Patch available GHSA-h8gc-pgj2-vjm3
  • Django (PyPI) Vendor— Affected 4.1a1 to before 4.1.12 Fixed in 4.1.12 Patch available GHSA-h8gc-pgj2-vjm3
  • Django (PyPI) Vendor— Affected 4.2a1 to before 4.2.6 Fixed in 4.2.6 Patch available GHSA-h8gc-pgj2-vjm3

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*3.2 to before 3.2.22; 4.1 to before 4.1.12; 4.2 to before 4.2.6Vulnerabledjangoproject
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*39VulnerableFedoraproject
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 3.2 to before 3.2.22; 4.1 to before 4.1.12; 4.2 to before 4.2.6 Vulnerable ·djangoproject
  • cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Versions 39 Vulnerable ·Fedoraproject

Remediation

  • Fix · GHSA-h8gc-pgj2-vjm3 Django (PyPI) Fixed in 3.2.22 Advisory →
  • Fix · GHSA-h8gc-pgj2-vjm3 Django (PyPI) Fixed in 4.1.12 Advisory →
  • Fix · GHSA-h8gc-pgj2-vjm3 Django (PyPI) Fixed in 4.2.6 Advisory →

Red Hat 5 advisories

  • RHSA-2024:2010 Released 2024-04-23 · Red Hat rating Important
    Satellite 6.15.0 release
    • Red Hat Satellite 6.15 for RHEL 8 foreman-3.9.1.6-1.el8sat, foreman-cli-3.9.1.6-1.el8sat, foreman-debug-3.9.1.6-1.el8sat +28
  • RHSA-2024:1878 Released 2024-04-18 · Red Hat rating Moderate
    RHUI 4.8 Release - Security Updates, Bug Fixes, and Enhancements
    • RHUI 4 for RHEL 8 python-aiohttp-3.9.2-1.el8ui, python-cryptography-41.0.6-1.el8ui, python-django-4.2.11-1.el8ui +7
  • RHSA-2024:1536 Released 2024-03-27 · Red Hat rating Moderate
    Satellite 6.14.3 Async Security Update
    • Red Hat Satellite 6.14 for RHEL 8 python-aiohttp-3.9.2-0.1.el8pc, python-django-3.2.22-1.el8pc, python-galaxy-importer-0.4.18-2.el8pc +5
Show 2 more Red Hat advisories
  • RHSA-2023:6158 Released 2023-10-30 · Red Hat rating Moderate
    Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
    • Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower-4.4.7-1.el8ap, python39-urllib3-1.26.18-1.el8ap, python3x-urllib3-1.26.18-1.el8ap
    • Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower-4.4.7-1.el9ap, python-urllib3-1.26.18-1.el9ap, python3-urllib3-1.26.18-1.el9ap
  • RHSA-2023:5758 Released 2023-10-16 · Red Hat rating Moderate
    Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
    • Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-core-2.15.5-1.el8ap, automation-controller-venv-tower-4.4.6-1.el8ap, python39-django-3.2.22-1.el8ap +1
    • Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-core-2.15.5-1.el9ap, automation-controller-venv-tower-4.4.6-1.el9ap, python-django-3.2.22-1.el9ap +1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Certification for Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 16.1AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 16.2AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 18.0AffectedNo fix yet
Red Hat Storage 3AffectedNo fix planned: Will not fix
RHUI 4 for RHEL 8Fixed RHSA-2024:1878
Red Hat Ansible Automation Platform 2.4 for RHEL 8Fixed RHSA-2023:5758, RHSA-2023:6158
Red Hat Ansible Automation Platform 2.4 for RHEL 9Fixed RHSA-2023:5758, RHSA-2023:6158
Red Hat Satellite 6.14 for RHEL 8Fixed RHSA-2024:1536
Red Hat Satellite 6.15 for RHEL 8Fixed RHSA-2024:2010
Not affected: 7 products
  • RHUI 4 for RHEL 8
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8
  • Red Hat Ansible Automation Platform 2.4 for RHEL 9
  • Red Hat OpenStack Platform 17.0
  • Red Hat OpenStack Platform 17.1
  • Red Hat Satellite 6.14 for RHEL 8
  • Red Hat Satellite 6.15 for RHEL 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-43665
  2. 2026-10-03 Alias added: GHSA-h8gc-pgj2-vjm3

References

Sources