GitHub Advisoryadvisory · npm

GHSA-27c6-mcxv-x3fh Unlimited consumption of resources in @fastify/multipart

HIGH Published 2025-01-23 Modified 2025-01-23 Official page ↗
Aliases
CVE-2025-24033
Ecosystem
npm
Packages
@fastify/multipart
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2025-01-23

Affected packages

• npm @fastify/multipart: < 8.3.1 → fixed in 8.3.1 • npm @fastify/multipart: >= 9.0.0, < 9.0.3 → fixed in 9.0.3

Description

Impact The `saveRequestFiles` function does not delete the uploaded temporary files when user cancels the request. Patches Fixed in version 8.3.1 and 9.0.3 Workarounds Do not use `saveRequestFiles`. References This was identified in https://github.com/fastify/fastify-multipart/issues/546 and fixed in https://github.com/fastify/fastify-multipart/pull/567.

Related

Alias · CVE (1)

  • CVE-2025-24033 @fastify/multipart is a Fastify plugin for parsing the multipart content-type. vulnerability

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References