Advisory

GHSA-hpp2-2cr5-pf6g

Also known as: CVE-2023-25576

Summary

Denial of service due to unlimited number of parts

Details

Impact

  • The multipart body parser accepts an unlimited number of file parts.
  • The multipart body parser accepts an unlimited number of field parts.
  • The multipart body parser accepts an unlimited number of empty parts as field

parts.

Patches

This is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x).

Workarounds

There are no known workaround.

References

Reported at https://hackerone.com/reports/1816195.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-02-14 21:49 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

@fastify/multipart

npm · All systems

Affected

  • introduced 0, fixed 6.0.1 (semver)

Fixed versions

6.0.1

Fix

@fastify/multipart

npm · All systems

Affected

  • introduced 7.0.0, fixed 7.4.1 (semver)

Fixed versions

7.4.1

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