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.

References

https://security.snyk.io/vuln/SNYK-JS-WEB3UTILS-6229337

https://github.com/web3/web3.js/commit/8ed041c6635d807b3da8960ad49e125e3d1b0e80

Details

Source: Mitre, NVD

Published: 2024-03-25

Updated: 2024-08-01

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High