CVE-2025-22150
published medium CVSS 3.1 · 6.8Undici Uses Insufficiently Random Values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nodejs | — | undici>= 4.5.0, < 5.28.5 · >= 6.0.0, < 6.21.1 · >= 7.0.0, < 7.2.3 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-822 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | nodejs | Advisory build | 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 | ALSA-2025:1582 |
| Alpine Linux | edge | nodejs | Fixed | 22.13.1-r0 | Package fix record |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.20.6-1.module+el8.10.0+90515+1118f177 | ELSA-2025-1582 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:20.18.2-1.module_el8.10.0+3958+472a6467 | ALSA-2025:1351 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | ALSA-2025:1611 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 | ALSA-2025:1582 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:20.18.2-1.module_el8.10.0+3958+472a6467 | ALSA-2025:1351 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | ALSA-2025:1611 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 | ALSA-2025:1582 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:20.18.2-1.module_el8.10.0+3958+472a6467 | ALSA-2025:1351 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | ALSA-2025:1611 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 | ALSA-2025:1582 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:20.18.2-1.module_el8.10.0+3958+472a6467 | ALSA-2025:1351 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | ALSA-2025:1611 |
| AlmaLinux | 8 | nodejs-libs | Advisory build | 1:22.13.1-1.module_el8.10.0+3961+6a788e57 | ALSA-2025:1611 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2025:1351 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2025:1582 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2025:1611 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.10.0+3961+6a788e57 | ALSA-2025:1582 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.10.0+3961+6a788e57 | ALSA-2025:1611 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2025:1351 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.10.0+3958+472a6467 | ALSA-2025:1351 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.10.0+3961+6a788e57 | ALSA-2025:1582 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.10.0+3961+6a788e57 | ALSA-2025:1611 |
| AlmaLinux | 8 | npm | Advisory build | 1:10.8.2-1.18.20.6.1.module_el8.10.0+3960+fcfbf683 | ALSA-2025:1582 |
| AlmaLinux | 8 | npm | Advisory build | 1:10.8.2-1.20.18.2.1.module_el8.10.0+3958+472a6467 | ALSA-2025:1351 |
| AlmaLinux | 8 | npm | Advisory build | 1:10.9.2-1.22.13.1.1.module_el8.10.0+3961+6a788e57 | ALSA-2025:1611 |
| AlmaLinux | 8 | v8-12.4-devel | Advisory build | 3:12.4.254.21-1.22.13.1.1.module_el8.10.0+3961+6a788e57 | ALSA-2025:1611 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:18.20.6-1.module_el9.5.0+136+92f38f3c | ALSA-2025:1446 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:20.18.2-1.module_el9.5.0+137+381f3eaf | ALSA-2025:1443 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:22.13.1-1.module_el9.5.0+139+09296491 | ALSA-2025:1613 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:18.20.6-1.module_el9.5.0+136+92f38f3c | ALSA-2025:1446 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:20.18.2-1.module_el9.5.0+137+381f3eaf | ALSA-2025:1443 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:22.13.1-1.module_el9.5.0+139+09296491 | ALSA-2025:1613 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:18.20.6-1.module_el9.5.0+136+92f38f3c | ALSA-2025:1446 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:20.18.2-1.module_el9.5.0+137+381f3eaf | ALSA-2025:1443 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:22.13.1-1.module_el9.5.0+139+09296491 | ALSA-2025:1613 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:18.20.6-1.module_el9.5.0+136+92f38f3c | ALSA-2025:1446 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:20.18.2-1.module_el9.5.0+137+381f3eaf | ALSA-2025:1443 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:22.13.1-1.module_el9.5.0+139+09296491 | ALSA-2025:1613 |
| AlmaLinux | 9 | nodejs-libs | Advisory build | 1:22.13.1-1.module_el9.5.0+139+09296491 | ALSA-2025:1613 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2025:1443 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.5.0+136+92f38f3c | ALSA-2025:1446 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.5.0+136+92f38f3c | ALSA-2025:1613 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.3.0+88+29afeaa2 | ALSA-2025:1443 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.5.0+136+92f38f3c | ALSA-2025:1446 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.5.0+136+92f38f3c | ALSA-2025:1613 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.5.0+124+df88fe49 | ALSA-2025:1443 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.5.0+124+df88fe49 | ALSA-2025:1446 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.5.0+139+09296491 | ALSA-2025:1613 |
| AlmaLinux | 9 | npm | Advisory build | 1:10.8.2-1.18.20.6.1.module_el9.5.0+136+92f38f3c | ALSA-2025:1446 |
| AlmaLinux | 9 | npm | Advisory build | 1:10.8.2-1.20.18.2.1.module_el9.5.0+137+381f3eaf | ALSA-2025:1443 |
| AlmaLinux | 9 | npm | Advisory build | 1:10.9.2-1.22.13.1.1.module_el9.5.0+139+09296491 | ALSA-2025:1613 |
| AlmaLinux | 9 | v8-12.4-devel | Advisory build | 3:12.4.254.21-1.22.13.1.1.module_el9.5.0+139+09296491 | ALSA-2025:1613 |
| Alpine Linux | v3.21 | nodejs | Fixed | 22.13.1-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs | Fixed | 22.13.1-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs | Fixed | 22.13.1-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs | Fixed | 22.13.1-r0 | Package fix record |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 20b | Advisory build | 1:20.18.2-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.20.6-1.module+el8.10.0+90515+1118f177 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 20b | Advisory build | 1:20.18.2-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.20.6-1.module+el8.10.0+90515+1118f177 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 20b | Advisory build | 1:20.18.2-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.20.6-1.module+el8.10.0+90515+1118f177 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 20b | Advisory build | 1:20.18.2-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.20.6-1.module+el8.10.0+90515+1118f177 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 20b | Advisory build | 1:20.18.2-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.20.6-1.module+el8.10.0+90515+1118f177 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 20b | Advisory build | 1:20.18.2-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.20.6-1.module+el8.10.0+90515+1118f177 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 20b | Advisory build | 1:20.18.2-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.20.6-1.module+el8.10.0+90515+1118f177 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 20b | Advisory build | 1:20.18.2-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-libsaarch64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-libsx86_64 · nodejs · 22b | Advisory build | 1:22.13.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.10.0+90402+68b79193 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 22b | Advisory build | 0:3.0.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.10.0+90402+68b79193 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 22b | Advisory build | 0:3.0.1-1.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 22b | Advisory build | 0:2021.06-4.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 22b | Advisory build | 0:2021.06-4.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 22b | Advisory build | 0:2021.06-4.module+el8.10.0+90518+cdafa262 | ELSA-2025-1611 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | ELSA-2025-1582 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.10.0+90510+29816cee | ELSA-2025-1351 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nodejs | undici | >= 4.5.0, < 5.28.5 (affected)>= 6.0.0, < 6.21.1 (affected)>= 7.0.0, < 7.2.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-330 CWE-330: Use of Insufficiently Random Values
References
7- https://blog.securityevaluators.com/hacking-the-javascript-lottery-80cc437e3b7f
- https://github.com/nodejs/undici/blob/8b06b8250907d92fead664b3368f1d2aa27c1f35/lib/web/fetch/body.js#L113
- https://github.com/nodejs/undici/commit/711e20772764c29f6622ddc937c63b6eefdf07d0
- https://github.com/nodejs/undici/commit/c2d78cd19fe4f4c621424491e26ce299e65e934a
- https://github.com/nodejs/undici/commit/c3acc6050b781b827d80c86cbbab34f14458d385
- https://github.com/nodejs/undici/security/advisories/GHSA-c76h-2ccp-4975
- https://hackerone.com/reports/2913312
Provider assertions
2GitHub_M · cna
Undici Uses Insufficiently Random Values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5510ba6e2ee3f88e65063ec3f51ddad6d7ad76d8417a885e1b0be8a02482387e
- Ingested
- 23 Sep 2026, 08:40:04 UTC
- Source record
- Official CVE record