CVE-2025-22150
Last modified
CVE-2025-22150 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 0.74% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-22150?
How severe is CVE-2025-22150?
How do I fix CVE-2025-22150?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-22143WeGIA is a web manager for charitable institutions. A Reflec…6.1
- CVE-2025-22144NamelessMC is a free, easy to use & powerful website softwar…9.8
- CVE-2025-22145Carbon is an international PHP extension for DateTime. Appli…6.3
- CVE-2025-22146Sentry is a developer-first error tracking and performance m…9.1
- CVE-2025-22149JWK Set (JSON Web Key Set) is a JWK and JWK Set Go implement…2.1
- CVE-2025-2215A vulnerability classified as critical was found in Doufox u…5.1
- CVE-2025-22151Strawberry GraphQL is a library for creating GraphQL APIs. S…3.7
- CVE-2025-22152Atheos is a self-hosted browser-based cloud IDE. Prior to v6…9.4
- CVE-2025-22153RestrictedPython is a tool that helps to define a subset of …7.9
- CVE-2025-22154Rejected reason: To maintain compliance with CNA rules, we h…
- CVE-2025-22155Rejected reason: To maintain compliance with CNA rules, we h…
- CVE-2025-22157This High severity PrivEsc (Privilege Escalation) vulnerabil…8.8
Are you affected by CVE-2025-22150?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
