CVE-2025-22150: Undici Uses Insufficiently Random Values
Noroxi assessment
Priority: Monitor (action score 27/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.76% (FIRST EPSS); higher than 55.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. Special conditions such as timing or configuration are required.
- Fixed version: azl3 nodejs 20.14.0-5 on Azure Linux 3.0 20.14.0-5; azl3 nodejs 20.14.0-8 on Azure Linux 3.0 20.14.0-5; cbl2 nodejs18 18.20.3-3 on CBL Mariner 2.0 18.20.3-3.
Low priority for now. Upgrade to azl3 nodejs 20.14.0-5 on Azure Linux 3.0 20.14.0-5; azl3 nodejs 20.14.0-8 on Azure Linux 3.0 20.14.0-5; cbl2 nodejs18 18.20.3-3 on CBL Mariner 2.0 18.20.3-3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- GHSA-c76h-2ccp-4975
- ALSA-2025:1351
- ALSA-2025:1443
- ALSA-2025:1446
- ALSA-2025:1582
- ALSA-2025:1611
- ALSA-2025:1613
- openSUSE-SU-2025:14706-1
- openSUSE-SU-2025:15802-1
- openSUSE-SU-2026:11110-1
- RHSA-2025:1351
- RHSA-2025:1443
- RHSA-2025:1446
- RHSA-2025:1582
- RHSA-2025:1611
- RHSA-2025:1613
- RLSA-2025:1351
- RLSA-2025:1443
- RLSA-2025:1446
- RLSA-2025:1582
- Published
- Jan 21, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.7% · 55th percentile
- CWE
- CWE-330
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 6.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
nodejs undici
- >= 4.5.0, < 5.28.5, >= 6.0.0, < 6.21.1, >= 7.0.0, < 7.2.3affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | nodejs | before 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:8 | nodejs | before 1:20.18.2-1.module_el8.10.0+3958+472a6467 | 1:20.18.2-1.module_el8.10.0+3958+472a6467 |
| AlmaLinux:8 | nodejs | before 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 | 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 |
| AlmaLinux:8 | nodejs-devel | before 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:8 | nodejs-devel | before 1:20.18.2-1.module_el8.10.0+3958+472a6467 | 1:20.18.2-1.module_el8.10.0+3958+472a6467 |
| AlmaLinux:8 | nodejs-devel | before 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 | 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 |
| AlmaLinux:8 | nodejs-docs | before 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 | 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 |
| AlmaLinux:8 | nodejs-docs | before 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:8 | nodejs-docs | before 1:20.18.2-1.module_el8.10.0+3958+472a6467 | 1:20.18.2-1.module_el8.10.0+3958+472a6467 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:20.18.2-1.module_el8.10.0+3958+472a6467 | 1:20.18.2-1.module_el8.10.0+3958+472a6467 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 | 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 |
| AlmaLinux:8 | nodejs-libs | before 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:8 | nodejs-nodemon | before 3.0.1-1.module_el8.8.0+3613+1ed8c91d | 3.0.1-1.module_el8.8.0+3613+1ed8c91d |
| AlmaLinux:8 | nodejs-packaging | before 2021.06-4.module_el8.7.0+3343+ea2b7901 | 2021.06-4.module_el8.7.0+3343+ea2b7901 |
| AlmaLinux:8 | nodejs-packaging | before 2021.06-4.module_el8.10.0+3961+6a788e57 | 2021.06-4.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:8 | nodejs-packaging-bundler | before 2021.06-4.module_el8.10.0+3958+472a6467 | 2021.06-4.module_el8.10.0+3958+472a6467 |
| AlmaLinux:8 | nodejs-packaging-bundler | before 2021.06-4.module_el8.10.0+3961+6a788e57 | 2021.06-4.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:8 | npm | before 1:10.8.2-1.20.18.2.1.module_el8.10.0+3958+472a6467 | 1:10.8.2-1.20.18.2.1.module_el8.10.0+3958+472a6467 |
| AlmaLinux:8 | npm | before 1:10.8.2-1.18.20.6.1.module_el8.10.0+3960+fcfbf683 | 1:10.8.2-1.18.20.6.1.module_el8.10.0+3960+fcfbf683 |
| AlmaLinux:8 | npm | before 1:10.9.2-1.22.13.1.1.module_el8.10.0+3961+6a788e57 | 1:10.9.2-1.22.13.1.1.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:8 | v8-12.4-devel | before 3:12.4.254.21-1.22.13.1.1.module_el8.10.0+3961+6a788e57 | 3:12.4.254.21-1.22.13.1.1.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:9 | nodejs | before 1:18.20.6-1.module_el9.5.0+136+92f38f3c | 1:18.20.6-1.module_el9.5.0+136+92f38f3c |
| AlmaLinux:9 | nodejs | before 1:22.13.1-1.module_el9.5.0+139+09296491 | 1:22.13.1-1.module_el9.5.0+139+09296491 |
+96
Same product
nodejs: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-35949`undici.request` vulnerable to SSRF using absolute URL on `pathname`40Plan
- CVE-2026-1525undici is vulnerable to Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')39Monitor
- CVE-2026-109829undici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirects36Monitor
Published before and after this one in the same product
- ← EarlierCVE-2024-30260Apr 4, 2024 · Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline17Monitor
- ← EarlierCVE-2024-38372Jul 8, 2024 · Undici vulnerable to data leak when using response.arrayBuffer()8Monitor
- Later →CVE-2025-47279May 15, 2025 · undici Denial of Service attack via bad certificate data12Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 nodejs 20.14.0-5 on Azure Linux 3.0 | 20.14.0-5 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 nodejs 20.14.0-8 on Azure Linux 3.0 | 20.14.0-5 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 nodejs18 18.20.3-3 on CBL Mariner 2.0 | 18.20.3-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 nodejs18 18.20.3-6 on CBL Mariner 2.0 | 18.20.3-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 nodejs18 18.20.3-6 on CBL-Mariner 2.0 | 18.20.3-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:nodejs | 1:20.18.2-1.module_el8.10.0+3958+472a6467 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-devel | 1:20.18.2-1.module_el8.10.0+3958+472a6467 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-docs | 1:20.18.2-1.module_el8.10.0+3958+472a6467 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-full-i18n | 1:20.18.2-1.module_el8.10.0+3958+472a6467 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-libs | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-nodemon | 3.0.1-1.module_el8.8.0+3613+1ed8c91d · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-packaging | 2021.06-4.module_el8.7.0+3343+ea2b7901 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-packaging-bundler | 2021.06-4.module_el8.10.0+3958+472a6467 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:npm | 1:10.8.2-1.20.18.2.1.module_el8.10.0+3958+472a6467 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:v8-12.4-devel | 3:12.4.254.21-1.22.13.1.1.module_el8.10.0+3961+6a788e57 · AlmaLinux:8 | Package registry (OSV) |
| alpine:nodejs | 22.13.1-r0 · Alpine:v3.21 | Package registry (OSV) |
| debian:node-undici | 7.3.0+dfsg1+~cs24.12.11-1 · Debian:13 | Package registry (OSV) |
| npm:undici | 5.28.5 | Package registry (OSV) |
| npm:undici | 6.21.1 | Package registry (OSV) |
| npm:undici | 7.2.3 | Package registry (OSV) |
| opensuse:nodejs20 | 20.18.2-150600.3.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:nodejs22 | 22.13.1-150600.13.6.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:nodejs24 | 24.11.1-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:nodejs26 | 26.3.1-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:nodejs | 1:20.18.2-1.module+el8.10.0+22767+a3309b10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-debuginfo | 1:20.18.2-1.module+el8.10.0+22767+a3309b10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-debugsource | 1:20.18.2-1.module+el8.10.0+22767+a3309b10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-devel | 1:20.18.2-1.module+el8.10.0+22767+a3309b10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-docs | 1:20.18.2-1.module+el8.10.0+22767+a3309b10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-full-i18n | 1:20.18.2-1.module+el8.10.0+22767+a3309b10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
+13
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-330 · Use of Insufficiently Random ValuesCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/nodejs/undici/blob/8b06b8250907d92fead664b3368f1d2aa27c1f35/lib/web/fetch/body.js#L113
- github.com/nodejs/undici/commit/711e20772764c29f6622ddc937c63b6eefdf07d0
- github.com/nodejs/undici/commit/c2d78cd19fe4f4c621424491e26ce299e65e934a
- github.com/nodejs/undici/commit/c3acc6050b781b827d80c86cbbab34f14458d385
- github.com/nodejs/undici/security/advisories/GHSA-c76h-2ccp-4975
- hackerone.com/reports/2913312
Vendor advisories and official records. Exploit/PoC links are deliberately left out.