#VU103227 Use of insufficiently random values in undici - CVE-2025-22150

 

#VU103227 Use of insufficiently random values in undici - CVE-2025-22150

Published: January 22, 2025


Vulnerability identifier: #VU103227
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-22150
CWE-ID: CWE-330
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
undici
Software vendor:
Node.js

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to the application uses "Math.random()" from the fetch() function to choose the boundary for a "multipart/form-data" request. A remote attacker with ability to intercept traffic can tamper with the requests going to the backend APIs.


Remediation

Install updates from vendor's website.

External links