CVE-2024-21505

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.
Configurations

No configuration.

History

21 Nov 2024, 08:54

Type Values Removed Values Added
References () https://github.com/web3/web3.js/commit/8ed041c6635d807b3da8960ad49e125e3d1b0e80 - () https://github.com/web3/web3.js/commit/8ed041c6635d807b3da8960ad49e125e3d1b0e80 -
References () https://security.snyk.io/vuln/SNYK-JS-WEB3UTILS-6229337 - () https://security.snyk.io/vuln/SNYK-JS-WEB3UTILS-6229337 -

25 Mar 2024, 13:47

Type Values Removed Values Added
Summary
  • (es) Las versiones del paquete web3-utils anteriores a la 4.2.1 son vulnerables a Prototype Pollution a través de las funciones de utilidad format y mergeDeep, debido a una fusión recursiva insegura. Un atacante puede manipular el prototipo de un objeto, lo que podría provocar la alteración del comportamiento de todos los objetos que heredan del prototipo afectado al pasar entradas especialmente manipuladas a estas funciones.

25 Mar 2024, 05:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-25 05:15

Updated : 2024-11-21 08:54


NVD link : CVE-2024-21505

Mitre link : CVE-2024-21505

CVE.ORG link : CVE-2024-21505


JSON object : View

Products Affected

No product.

CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')