Skip to main content
Public proof of conceptFix available

CVE-2025-22150

A public proof of concept exists; no exploitation attested.

  • Published2025-01-21
  • WeaknessCWE-330

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-01-2118:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 18:48 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2025-22150?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2025-22150?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • RHSA-2025:3397 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: RHOAI 2.16.0 - Red Hat OpenShift AI

  • RHSA-2025:3374 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Developer Hub 1.5.1 release.

  • RHSA-2025:3368 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: RHOAI 2.16.0 - Red Hat OpenShift AI

  • RHSA-2025:2588 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: RHOAI 2.18.0 - Red Hat OpenShift AI

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2025:3397 · 1 productFor Red Hat OpenShift AI 2.16.0 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  2. Vendor fix Red Hat Product Security RHSA-2025:3374 · 1 productFor more about Red Hat Developer Hub, see References links
  3. Vendor fix Red Hat Product Security RHSA-2025:2588 · 3 productsFor Red Hat OpenShift AI 2.18.0 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  4. Workaround from the vendor Red Hat Product Security RHSA-2025:3397 · 27 productsUntil a vendor-provided update containing the fix is available, do not send multipart/form-data requests from affected applications to attacker-controlled destinations. Restrict outbound destinations for such requests with an allowlist or firewall policy, or disable the application feature or path …

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionpoc2025-01-21
  • OpenCVESSVC decisionpoc—
  • CNACVSS 3.16.8read 2026-10-23
  • CNAweakness (CWE)CWE-330read 2026-10-23
  • FIRST EPSSEPSS score0.8 %2026-10-22

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Published
2025-01-21
Last Modified
2026-06-17
NVD status
Deferred

Frequently asked questions

What is CVE-2025-22150?

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.

Is CVE-2025-22150 actively exploited?

A proof-of-concept exploit exists for CVE-2025-22150, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-22150?

CVE-2025-22150 has a CVSS v3 base score of 6.8 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month