SCA: security update for Werkzeug (GHSA-xg9f-g7g7-2323)

medium Tenable Self-Hosted Container Security Plugin ID 420483

Description

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

- Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart
form data parser will parse an unlimited number of parts, including file parts. Parts can be a small
amount of bytes, but each requires CPU time to parse and may use more memory as Python data. If a request
can be made to an endpoint that accesses `request.data`, `request.form`, `request.files`, or
`request.get_data(parse_form_data=False)`, it can cause unexpectedly high resource usage. 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. The amount
of RAM required can trigger an out of memory kill of the process. Unlimited file parts can use up memory
and file handles. If many concurrent requests are sent continuously, this can exhaust or kill all
available workers. Version 2.2.3 contains a patch for this issue. (CVE-2023-25577)

See Also

https://github.com/advisories/GHSA-xg9f-g7g7-2323

Plugin Details

Severity: Medium

ID: 420483

Version: Revision 1.4

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

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: Medium

Base Score: 5.4

Threat Score: 2

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/15/2023

Vulnerability Publication Date: 2/14/2023

Reference Information

CVE: CVE-2023-25577