CVE-2024-21505

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductWeb3-utils
PublishedMar 25, 2024
First seenMar 25, 2024

How to fix

Update
  • web3-utils4.2.1 or later

Affected products

ProductAffected versionsFixed in
web3-utilsnpm4.0.1 ≤ v < 4.2.14.2.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.