A vulnerability was found in web3-utils up to 4.2.0. It has been declared as critical. Affected by this vulnerability is the function mergeDeep. The manipulation leads to improperly controlled modification of object prototype attributes (‘prototype pollution’).

This vulnerability is known as CVE-2024-21505. The attack can be launched remotely. There is no exploit available.

It is recommended to upgrade the affected component.