Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @fastify/multipart
  4. ›
  5. CVE-2021-23597

CVE-2021-23597: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

February 11, 2022 (updated July 12, 2022)

This affects the package fastify-multipart before 5.3.1. By providing a name=constructor property it is still possible to crash the application. Note: This is a bypass of CVE-2020-8136 (https://security.snyk.io/vuln/SNYK-JS-FASTIFYMULTIPART-1290382).

References

  • github.com/fastify/fastify-multipart/commit/a70dc7059a794589bd4fe066453141fc609e6066
  • github.com/fastify/fastify-multipart/releases/tag/v5.3.1
  • nvd.nist.gov/vuln/detail/CVE-2021-23597
  • snyk.io/vuln/SNYK-JS-FASTIFYMULTIPART-2395480

Code Behaviors & Features

Detect and mitigate CVE-2021-23597 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.3.1

Fixed versions

  • 6.0.0

Solution

Upgrade to version 6.0.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/@fastify/multipart/CVE-2021-23597.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.