Vulnerability CVE-2023-43665: Information

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.

Severity: HIGH (7.5) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Published: Nov. 3, 2023
Modified: May 1, 2024
Error type identifier: CWE-1284

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
python3-module-djangosisyphus4.2.6-alt14.2.13-alt1ALT-PU-2023-6172-1331106Fixed
python3-module-djangosisyphus_e2k4.2.6-alt14.2.13-alt1ALT-PU-2023-6230-1-Fixed
python3-module-djangosisyphus_riscv644.2.6-alt14.2.13-alt1ALT-PU-2023-6195-1-Fixed
python3-module-djangop103.2.22-alt13.2.25-alt1ALT-PU-2023-6171-2331109Fixed
python3-module-djangop10_e2k3.2.22-alt13.2.25-alt1ALT-PU-2023-7038-1-Fixed
python3-module-djangoc10f13.2.22-alt13.2.25-alt1ALT-PU-2023-6239-2331111Fixed

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
      Start including
      4.2
      End excliding
      4.2.6

      cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
      Start including
      4.1
      End excliding
      4.1.12

      cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
      Start including
      3.2
      End excliding
      3.2.22

      Configuration 2

      cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*