CVE-2025-24033
JSON

7.5high

@fastify/multipart vulnerable to unlimited consumption of resources

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.60% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-27c6-mcxv-x3fh

Description

@fastify/multipart is a Fastify plugin for parsing the multipart content-type. Prior to versions 8.3.1 and 9.0.3, the `saveRequestFiles` function does not delete the uploaded temporary files when user cancels the request. The issue is fixed in versions 8.3.1 and 9.0.3. As a workaround, do not use `saveRequestFiles`.

Affected

Product or packageVersionsReported by
fastify fastify-multipart< 8.3.1, >= 9.0.0, < 9.0.3CVE List
@fastify/multipart (npm)before 8.3.1, from 9.0.0 before 9.0.3GitHub Advisory Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

@fastify/multipart is a Fastify plugin for parsing the multipart content-type. Prior to versions 8.3.1 and 9.0.3, the `saveRequestFiles` function does not delete the uploaded temporary files when user cancels the request. The issue is fixed in versions 8.3.1 and 9.0.3. As a workaround, do not use `saveRequestFiles`.

GitHub Advisory Database
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.

NVD (es)

@fastify/multipart es un complemento de Fastify para analizar el tipo de contenido multipart. Antes de las versiones 8.3.1 y 9.0.3, la función `saveRequestFiles` no elimina los archivos temporales cargados cuando el usuario cancela la solicitud. El problema se solucionó en las versiones 8.3.1 y 9.0.3. Como workaround, no use `saveRequestFiles`.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-24033 changed 2025-02-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-27c6-mcxv-x3fh changed 2025-01-23CC-BY-4.0
NVDCVE-2025-24033 changed 2026-06-17Public domain