VDB
Sign up
HIGH7.5

GHSA-hpp2-2cr5-pf6g

Denial of service due to unlimited number of parts

Quick fix

GHSA-hpp2-2cr5-pf6g — @fastify/multipart: upgrade to the fixed version with the command below.

npm install @fastify/multipart@6.0.1

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@fastify/multipart
Introduced in: 0Fixed in: 6.0.1
Fixnpm install @fastify/multipart@6.0.1
npm/@fastify/multipart
Introduced in: 7.0.0Fixed in: 7.4.1
Fixnpm install @fastify/multipart@7.4.1

References