SCA: security update for Django (GHSA-h8gc-pgj2-vjm3)

high Tenable Cloud Security Plugin ID 415594

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2023-43665)

See Also

https://github.com/advisories/GHSA-h8gc-pgj2-vjm3

Plugin Details

Severity: High

ID: 415594

Version: Revision 1.15

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2023-43665

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/3/2023

Vulnerability Publication Date: 10/5/2023

Reference Information

CVE: CVE-2023-43665