Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. msgpack5
  4. ›
  5. CVE-2021-21368

CVE-2021-21368: Improperly Controlled Modification of Dynamically-Determined Object Attributes

March 12, 2021 (updated October 24, 2022)

msgpack5 is susceptible to prototype pollution attacks.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-21368

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.6.1, all versions starting from 4.0.0 before 4.5.1, all versions starting from 5.0.0 before 5.2.1

Fixed versions

  • 3.6.1
  • 4.5.1
  • 5.2.1

Solution

Upgrade to versions 3.6.1, 4.5.1, 5.2.1 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/msgpack5/CVE-2021-21368.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:28 +0000.