Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-22150— Undici Uses Insufficiently Random Values

Quick assessment

Affected
nodejs undici
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

undici是Node.js开源的一个HTTP/1.1客户端。 Undici 4.5.0版本、5.28.5之前版本、6.21.1版本和7.2.3版本存在安全特征问题漏洞,该漏洞源于使用可预测的Math.random生成multipart/form-data请求的边界,允许攻击者在特定条件下篡改请求。

CVSS 6.8 · Medium EPSS 0.76% · P53

Possible ATT&CK Techniques 1 AI

T1071 · Application Layer Protocol
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-22150

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Undici Uses Insufficiently Random Values
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用不充分的随机数
Source: CVE Program / CVE List V5
Vulnerability Title
undici 安全特征问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
undici是Node.js开源的一个HTTP/1.1客户端。 Undici 4.5.0版本、5.28.5之前版本、6.21.1版本和7.2.3版本存在安全特征问题漏洞,该漏洞源于使用可预测的Math.random生成multipart/form-data请求的边界,允许攻击者在特定条件下篡改请求。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
nodejs undici >= 4.5.0, < 5.28.5 -

II. Public POCs for CVE-2025-22150

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-22150

登录查看更多情报信息。

Patches & Fixes for CVE-2025-22150 (4)

Vendor Advisories for CVE-2025-22150 (2)

Security Blog Posts for CVE-2025-22150 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-22150

No comments yet


Leave a comment