SCA: security update for undici (GHSA-c76h-2ccp-4975)

medium Tenable Cloud Security Plugin ID 413739

Description

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

- Undici is an HTTP/1.1 client. Starting in version 4.5.0 and prior to versions 5.28.5, 6.21.1, and 7.2.3,
undici uses `Math.random()` to choose the boundary for a multipart/form-data request. It is known that the
output of `Math.random()` can be predicted if several of its generated values are known. If there is a
mechanism in an app that sends multipart requests to an attacker-controlled website, they can use this to
leak the necessary values. Therefore, an attacker can tamper with the requests going to the backend APIs
if certain conditions are met. This is fixed in versions 5.28.5, 6.21.1, and 7.2.3. As a workaround, do
not issue multipart requests to attacker controlled servers. (CVE-2025-22150)

See Also

https://github.com/advisories/GHSA-c76h-2ccp-4975

Plugin Details

Severity: Medium

ID: 413739

Version: Revision 1.12

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

Score: 4.3

Percentile: 53.2

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

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

CVSS Score Source: CVE-2025-22150

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/21/2025

Vulnerability Publication Date: 1/21/2025

Reference Information

CVE: CVE-2025-22150

cwe: CWE-330