SCA: security update for djangorestframework (GHSA-gw84-84pc-xp82)

medium Tenable Self-Hosted Container Security Plugin ID 415335

Description

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

- Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via
the break_long_headers template filter due to improper input sanitization before splitting and joining
with <br> tags. (CVE-2024-21520)

See Also

https://github.com/advisories/GHSA-gw84-84pc-xp82

Plugin Details

Severity: Medium

ID: 415335

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.3

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2024-21520

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 2.1

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/26/2024

Vulnerability Publication Date: 6/26/2024

Reference Information

CVE: CVE-2024-21520

cwe: CWE-79