CVE-2021-21368: msgpack5 is a msgpack v5 implementation for node.js and the browser
CVE-2021-21368 is a medium-severity flaw (CVSS 6.7) affecting msgpack5. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
msgpack5 is a msgpack v5 implementation for node.js and the browser. In msgpack5 before versions 3.6.1, 4.5.1, and 5.2.1 there is a "Prototype Poisoning" vulnerability. When msgpack5 decodes a map containing a key "__proto__", it assigns the decoded value to __proto__. Object.prototype.__proto__ is an accessor property for the receiver's prototype. If the value corresponding to the key __proto__ decodes to an object or null, msgpack5 sets the dec
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-21368?
msgpack5: upgrade to 3.6.1, 4.5.1, 5.2.1. Exact commands for each OS are on this page.
Is CVE-2021-21368 being exploited?
CVE-2021-21368 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-21368 affect?
CVE-2021-21368 affects msgpack5. Severity is medium (CVSS 6.7). msgpack5 is a msgpack v5 implementation for node.js and the browser. In msgpack5 before versions 3.6.1, 4.5.1, and 5.2.1 there is a "Prototype Poisoning" vulnerability. When msgpack5 decodes a map containing a key "__proto__", it assigns th
How urgent is CVE-2021-21368?
Priority 48/100. Public exploit reference