CVE-2023-25576
JavaScript vulnerability analysis and mitigation

Overview

CVE-2023-25576 is a high severity vulnerability affecting the @fastify/multipart npm package versions <=6.0.0 and 7.0.0<=7.4.0. The vulnerability was discovered and disclosed on February 14, 2023, impacting the multipart body parser functionality of the package. The issue allows for potential denial of service (DoS) attacks due to unlimited processing of multipart form parts (GitHub Advisory).

Technical details

The vulnerability stems from the multipart body parser accepting an unlimited number of file parts, field parts, and empty parts as field parts without proper restrictions. The issue has a CVSS v3.1 base score of 7.5 (High) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption) (GitHub Advisory).

Impact

The vulnerability can lead to denial of service attacks by allowing attackers to submit an unlimited number of parts in multipart form data, potentially exhausting server resources. The attack requires no special privileges or user interaction and can be executed remotely, affecting the availability of the service while having no impact on confidentiality or integrity (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 6.0.1 (for Fastify v3.x) and 7.4.1 (for Fastify v4.x). The fix implements default limits for parts (1000) and fileSize (matching the bodyLimit configuration). There are no known workarounds for affected versions, making upgrading to a patched version the only solution (GitHub Release, GitHub Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-8083HIGH8.6
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025
CVE-2025-67750HIGH8.4
  • JavaScriptJavaScript
  • lightning-flow-scanner
NoYesDec 12, 2025
CVE-2025-8082MEDIUM6.3
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management