CVE-2025-22150 | Undici Uses Insufficiently Random Values

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.

Published: 2025-01-21 Last update: 2026-04-15 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-22150 is rated Moderate Risk (51.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.56%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-22150

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-04 0.36% 0.56% +0.20%
2 2026-03-01 0.17% 0.36% +0.18%
3 2026-02-20 0.17%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-22150

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
1.6 5.2 [email protected]

Weakness enumeration for CVE-2025-22150

GitHub Security Advisory for CVE-2025-22150

GHSA-c76h-2ccp-4975 · Severity: medium · Ecosystem: npm — Use of Insufficiently Random Values in undici

OS Trackers for CVE-2025-22150

vendor priority summary link
alpine medium CVE-2025-22150: 1 source package rows (nodejs); 3 state rows across 3 repos (3.21-main, 3.22-main, edge-main); fixed 3, open 0. https://security.alpinelinux.org/vuln/CVE-2025-22150
debian not yet assigned CVE-2025-22150 not yet assigned priority: Debian including 1 source packages (node-undici), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 3, open 1. https://security-tracker.debian.org/tracker/CVE-2025-22150
redhat medium https://access.redhat.com/security/cve/CVE-2025-22150
suse medium CVE-2025-22150 severity moderate: SUSE including 87 source package names (0.0.17-1.1:nodejs22-22.13.1-150600.13.6.1, 0.0.17-1.1:npm22-22.13.1-150600.13.6.1, …), 229 product×package rows across 32 product lines (Container bci/nodejs, Container containers/open-webui, … (32 product lines)): Fixed 132, Known Not Affected 97. https://www.suse.com/security/cve/CVE-2025-22150/
ubuntu medium CVE-2025-22150 medium priority: Ubuntu including 1 source packages (node-undici), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 3, DNE 2, ignored 2. https://ubuntu.com/security/CVE-2025-22150

Affected software / configurations for CVE-2025-22150

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-22150

cvelogic Threat Intelligence