GitHub Advisoryadvisory · npm
GHSA-qh73-qc3p-rjv2 Uncaught Exception in fastify-multipart
HIGH
Official page ↗
- Aliases
- CVE-2021-23597
- Ecosystem
- npm
- Packages
- fastify-multipart
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2022-02-11
Affected packages
• npm fastify-multipart: < 5.3.1 → fixed in 5.3.1
Description
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:
• Open an issue in https://github.com/fastify/fastify-multipart
• Email us at [email protected]
Related
Alias · CVE (1)
- CVE-2021-23597 This affects the package fastify-multipart before 5.3.1. vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://github.com/fastify/fastify-multipart/security/advisories/GHSA-qh73-qc3p-rjv2 web
- https://nvd.nist.gov/vuln/detail/CVE-2021-23597 advisory
- https://github.com/fastify/fastify-multipart/pull/116 web
- https://github.com/fastify/fastify-multipart/commit/a70dc7059a794589bd4fe066453141fc609e6066 web
- https://github.com/fastify/fastify-multipart web
- https://github.com/fastify/fastify-multipart/releases/tag/v5.3.1 web
- https://snyk.io/vuln/SNYK-JS-FASTIFYMULTIPART-2395480 web
- https://www.fastify.io/docs/latest/Guides/Prototype-Poisoning web