Prototype pollution in msgpack5 - CVE-2021-21368

 

Prototype pollution in msgpack5 - CVE-2021-21368

Published: June 2, 2023


Vulnerability identifier: #VU76823
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-21368
CWE-ID: CWE-1321
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary JavaScript code.

The vulnerability occrures 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. A remote user can pass specially crafted input to the application and perform prototype pollution, which can result in information disclosure or data manipulation.


Affected software

msgpack5
IBM Cloud Automation Manager

How to mitigate CVE-2021-21368

Cybersecurity Help is currently unaware of any official solution to address this vulnerability..

msgpack5 - addressed in versions 3.6.1, 4.5.1, 5.2.1
IBM Cloud Automation Manager - update to 4.2.0.1 iFix 3

External References

Related Security Bulletins