Description
The issue is as follows: when msgpack5 decodes a map containing a key "__proto__", it assigns the decoded value to __proto__. As you are no doubt aware, Object.prototype.__proto__ is an accessor property for the receiver’s prototype.
Recommendation
Update the msgpack5 package to the latest compatible version. Followings are version details:
Affected version(s): **>= 5.0.0, < 5.2.1 >= 4.0.0, < 4.5.1 < 3.6.1** Patched version(s): **5.2.1 4.5.1 3.6.1**
References
Related Issues
- mootools-more vulnerable to prototype pollution - CVE-2021-20088
- Prototype Pollution in jquery-bbq - CVE-2021-20086
- Prototype Pollution in lutils - CVE-2021-23396
- Prototype Pollution in async - CVE-2021-43138
You might also like:
- Tags:
- npm
- msgpack5
Anything's wrong? Let us know Last updated on January 29, 2023


