SCA: security update for undici (GHSA-v9p9-hfj2-hcw8)

high Tenable Cloud Security Plugin ID 438786

Description

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

- ImpactThe undici WebSocket client is vulnerable to a denial-of-service attack due to improper validation
of the server_max_window_bits parameter in the permessage-deflate extension. When a WebSocket client
connects to a server, it automatically advertises support for permessage-deflate compression. A malicious
server can respond with an out-of-range server_max_window_bits value (outside zlib's valid range of 8-15).
When the server subsequently sends a compressed frame, the client attempts to create a zlib InflateRaw
instance with the invalid windowBits value, causing a synchronous RangeError exception that is not caught,
resulting in immediate process termination. The vulnerability exists because: * The
isValidClientWindowBits() function only validates that the value contains ASCII digits, not that it falls
within the valid range 8-15 * The createInflateRaw() call is not wrapped in a try-catch block * The
resulting exception propagates up through the call stack and crashes the Node.js process (CVE-2026-2229)

Solution

Update the undici library and its related packages to version 6.24.0 or later.

See Also

https://github.com/advisories/GHSA-v9p9-hfj2-hcw8

Plugin Details

Severity: High

ID: 438786

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 3/14/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.72

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-2026-2229

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: 3/13/2026

Vulnerability Publication Date: 3/12/2026

Reference Information

CVE: CVE-2026-2229

cwe: CWE-248