SCA: security update for werkzeug (GHSA-hrfv-mqp8-q5rw)

high Tenable Self-Hosted Container Security Plugin ID 415921

Description

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

- Werkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and
on the 2.x branch prior to 2.3.8, if an upload of a file that starts with CR or LF and then is followed by
megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal
bytearray and lookup for boundary is performed on growing buffer. This allows an attacker to cause a
denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU
time required can block worker processes from handling legitimate requests. This vulnerability has been
patched in version 3.0.1 and 2.3.8. (CVE-2023-46136)

Solution

Update the werkzeug library and its related packages to version 2.3.8 or later.

See Also

https://github.com/advisories/GHSA-hrfv-mqp8-q5rw

Plugin Details

Severity: High

ID: 415921

Version: Revision 1.9

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.69

Vendor

Vendor Severity: Medium

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-46136

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/25/2023

Vulnerability Publication Date: 10/24/2023

Reference Information

CVE: CVE-2023-46136