Advisory

GHSA-27c6-mcxv-x3fh

Also known as: CVE-2025-24033

Summary

Unlimited consumption of resources in @fastify/multipart

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-01-23 18:02 UTC
Modified
2025-01-23 23:17 UTC

Affected packages and fixes

@fastify/multipart

npm · All systems

Affected

  • introduced 0, fixed 8.3.1 (semver)

Fixed versions

8.3.1

Fix

@fastify/multipart

npm · All systems

Affected

  • introduced 9.0.0, fixed 9.0.3 (semver)

Fixed versions

9.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences