Skip to content
7.5 High

CVE-2024-21505 Versions of the package web3-utils before 4.2.1 are vulnerable to Prototype Pollution via the utility functions format…

Description

Versions of the package web3-utils before 4.2.1 are vulnerable to Prototype Pollution via the utility functions format and mergeDeep, due to insecure recursive merge. An attacker can manipulate an object's prototype, potentially leading to the alteration of the behavior of all objects inheriting from the affected prototype by passing specially crafted input to these functions.

Affected products and versions

Product Affected versions Fixed in
web3-utils 4.2 earliest → < 4.2.1 4.2.1
web3-utils 4.2 earliest → < 4.2.1 4.2.1
Track this CVE