Advisory

GHSA-qh73-qc3p-rjv2

Also known as: CVE-2021-23597, SNYK-JS-FASTIFYMULTIPART-2395480

Summary

Uncaught Exception in fastify-multipart

Details

Impact

This is a bypass of CVE-2020-8136 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8136).
By providing a name=constructor property it is still possible to crash the application.
The original fix only checks for the key __proto__ (https://github.com/fastify/fastify-multipart/pull/116).

All users are recommended to upgrade

Patches

v5.3.1 includes a patch

Workarounds

No workarounds are possible.

References

Read up https://www.fastify.io/docs/latest/Guides/Prototype-Poisoning/

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-11 18:57 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

fastify-multipart

npm · All systems

Affected

  • introduced 0, fixed 5.3.1 (semver)

Fixed versions

5.3.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