Read the docs
TI-2025-16096 Aliases CVE-2025-22150GHSA-c76h-2ccp-4975

Undici Uses Insufficiently Random Values

Priority HIGH 65CWE-330Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Partial Red Hat: 8 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00763 55th percentileScored 2026-11-07
Fix Partial undici (nodejs): 5.28.5, 6.21.1, 7.2.3undici (npm): 5.28.5, 6.21.1, 7.2.3Red Hat: 13 advisoriesRed Hat: 8 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
NodeJSundici4.5.0 to before 5.28.5; 6.0.0 to before 6.21.1; 7.0.0 to before 7.2.35.28.5, 6.21.1, 7.2.3Patch availableCNA
—undici (npm)4.5.0 to before 5.28.55.28.5Patch availableGHSA-c76h-2ccp-4975
—undici (npm)6.0.0 to before 6.21.16.21.1Patch availableGHSA-c76h-2ccp-4975
—undici (npm)7.0.0 to before 7.2.37.2.3Patch availableGHSA-c76h-2ccp-4975
  • undici VendorNodeJS Affected 4.5.0 to before 5.28.5; 6.0.0 to before 6.21.1; 7.0.0 to before 7.2.3 Fixed in 5.28.5, 6.21.1, 7.2.3 Patch available CNA
  • undici (npm) Vendor— Affected 4.5.0 to before 5.28.5 Fixed in 5.28.5 Patch available GHSA-c76h-2ccp-4975
  • undici (npm) Vendor— Affected 6.0.0 to before 6.21.1 Fixed in 6.21.1 Patch available GHSA-c76h-2ccp-4975
  • undici (npm) Vendor— Affected 7.0.0 to before 7.2.3 Fixed in 7.2.3 Patch available GHSA-c76h-2ccp-4975

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:nodejs:undici:*:*:*:*:*:*:*:*——NodeJS
  • cpe:2.3:a:nodejs:undici:*:*:*:*:*:*:*:* Versions — — ·NodeJS

Remediation

  • Fix · CNA undici (nodejs) Fixed in 5.28.5, 6.21.1, 7.2.3
  • Fix · GHSA-c76h-2ccp-4975 undici (npm) Fixed in 5.28.5 Advisory →
  • Fix · GHSA-c76h-2ccp-4975 undici (npm) Fixed in 6.21.1 Advisory →
  • Fix · GHSA-c76h-2ccp-4975 undici (npm) Fixed in 7.2.3 Advisory →

Red Hat 13 advisories

  • RHSA-2025:21368 Released 2025-11-13 · Red Hat rating Moderate
    Red Hat OpenShift Data Foundation 4.18 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.18 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/mcg-core-rhel9 +16
  • RHSA-2025:17145 Released 2025-10-01 · Red Hat rating Moderate
    Red Hat OpenShift Data Foundation 4.17 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.17 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/mcg-core-rhel9 +16
  • RHSA-2025:3397 Released 2025-03-31 · Red Hat rating Important
    RHOAI 2.16.0 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 2.16 registry.redhat.io/rhoai/odh-codeflare-operator-rhel8, registry.redhat.io/rhoai/odh-dashboard-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel8 +13
Show 10 more Red Hat advisories
  • RHSA-2025:3374 Released 2025-03-27 · Red Hat rating Important
    Red Hat Developer Hub 1.5.1 release.
    • Red Hat Developer Hub 1.5 registry.redhat.io/rhdh/rhdh-hub-rhel9, registry.redhat.io/rhdh/rhdh-rhel9-operator
  • RHSA-2025:3368 Released 2025-03-27 · Red Hat rating Important
    RHOAI 2.16.0 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 2.16 registry.redhat.io/rhoai/odh-codeflare-operator-rhel8, registry.redhat.io/rhoai/odh-dashboard-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel8 +13
  • RHSA-2025:2588 Released 2025-03-10 · Red Hat rating Important
    RHOAI 2.18.0 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 2.18 registry.redhat.io/rhoai/odh-dashboard-rhel8, registry.redhat.io/rhoai/odh-mm-rest-proxy-rhel8, registry.redhat.io/rhoai/odh-modelmesh-rhel8 +2
  • RHSA-2025:1931 Released 2025-02-27 · Red Hat rating Moderate
    Red Hat Developer Hub 1.4.2 release.
    • Red Hat Developer Hub (RHDH) 1.4 registry.redhat.io/rhdh/rhdh-hub-rhel9
  • RHSA-2025:1613 Released 2025-02-17 · Red Hat rating Important
    nodejs:22 security update
    • Red Hat Enterprise Linux AppStream (v. 9) nodejs-1:22.13.1-1.module+el9.5.0+22763+17233acb.aarch64::nodejs:22, nodejs-1:22.13.1-1.module+el9.5.0+22763+17233acb.ppc64le::nodejs:22, nodejs-1:22.13.1-1.module+el9.5.0+22763+17233acb.s390x::nodejs:22 +28
  • RHSA-2025:1611 Released 2025-02-17 · Red Hat rating Important
    nodejs:22 security update
    • Red Hat Enterprise Linux AppStream (v. 8) nodejs-1:22.13.1-1.module+el8.10.0+22759+46b58560.aarch64::nodejs:22, nodejs-1:22.13.1-1.module+el8.10.0+22759+46b58560.ppc64le::nodejs:22, nodejs-1:22.13.1-1.module+el8.10.0+22759+46b58560.s390x::nodejs:22 +28
  • RHSA-2025:1582 Released 2025-02-17 · Red Hat rating Moderate
    nodejs:18 security update
    • Red Hat Enterprise Linux AppStream (v. 8) nodejs-1:18.20.6-1.module+el8.10.0+22776+24cd6c55.aarch64::nodejs:18, nodejs-1:18.20.6-1.module+el8.10.0+22776+24cd6c55.ppc64le::nodejs:18, nodejs-1:18.20.6-1.module+el8.10.0+22776+24cd6c55.s390x::nodejs:18 +20
  • RHSA-2025:1446 Released 2025-02-13 · Red Hat rating Moderate
    nodejs:18 security update
    • Red Hat Enterprise Linux AppStream (v. 9) nodejs-1:18.20.6-1.module+el9.5.0+22773+9a359385.aarch64::nodejs:18, nodejs-1:18.20.6-1.module+el9.5.0+22773+9a359385.ppc64le::nodejs:18, nodejs-1:18.20.6-1.module+el9.5.0+22773+9a359385.s390x::nodejs:18 +20
  • RHSA-2025:1443 Released 2025-02-13 · Red Hat rating Important
    nodejs:20 security update
    • Red Hat Enterprise Linux AppStream (v. 9) nodejs-1:20.18.2-1.module+el9.5.0+22758+4ad2c198.aarch64::nodejs:20, nodejs-1:20.18.2-1.module+el9.5.0+22758+4ad2c198.ppc64le::nodejs:20, nodejs-1:20.18.2-1.module+el9.5.0+22758+4ad2c198.s390x::nodejs:20 +20
  • RHSA-2025:1351 Released 2025-02-12 · Red Hat rating Important
    nodejs:20 security update
    • Red Hat Enterprise Linux AppStream (v. 8) nodejs-1:20.18.2-1.module+el8.10.0+22767+a3309b10.aarch64::nodejs:20, nodejs-1:20.18.2-1.module+el8.10.0+22767+a3309b10.ppc64le::nodejs:20, nodejs-1:20.18.2-1.module+el8.10.0+22767+a3309b10.s390x::nodejs:20 +20

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift LightspeedAffectedNo fix yet
Red Hat OpenShift Dev SpacesAffectedNo fix yet
Red Hat Developer Hub (RHDH) 1.4Fixed RHSA-2025:1931
Red Hat Developer Hub 1.5Fixed RHSA-2025:3374
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2025:1351, RHSA-2025:1582, RHSA-2025:1611
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:1443, RHSA-2025:1446, RHSA-2025:1613
Red Hat OpenShift AI 2.16Fixed RHSA-2025:3368
Red Hat OpenShift AI 2.18Fixed RHSA-2025:2588
Red Hat Openshift Data Foundation 4.17Fixed RHSA-2025:17145
Red Hat Openshift Data Foundation 4.18Fixed RHSA-2025:21368
Not affected: 10 products
  • Red Hat Developer Hub (RHDH) 1.4
  • Red Hat Developer Hub 1.5
  • Red Hat Enterprise Linux 10
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat OpenShift AI 2.16
  • Red Hat OpenShift AI 2.18
  • Red Hat Openshift Data Foundation 4.17
  • Red Hat Openshift Data Foundation 4.18

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-22150
  2. 2026-10-03 Alias added: GHSA-c76h-2ccp-4975

References

  • TI-2026-79288 Out-of-bounds write in Google Brotli decoder KEVCVSS 4.0CRITICAL 9.2
  • TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
  • TI-2024-18584 Race condition in NodeJS Node CVSS 3.0HIGH 8.2
  • TI-2016-01993 The DES and Triple DES ciphers, as used in the TLS, SSH, and IPSec protocols and other… CVSS 3.1HIGH 7.5
  • TI-2024-03325 Command injection vulnerability in programing languages on Microsoft Windows operating system. CVSS 3.1CRITICAL 9.8
  • TI-2022-03472 X.509 Email Address Variable Length Buffer Overflow CVSS 3.1HIGH 7.5
See all 295 →

Sources