{"cve":"CVE-2024-21505","nvd":{"published":"2024-03-25T05:15:50.663","modified":"2026-06-17T07:09:38.177","status":"Deferred","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.\rAn 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1321"],"references":["https://github.com/web3/web3.js/commit/8ed041c6635d807b3da8960ad49e125e3d1b0e80","https://security.snyk.io/vuln/SNYK-JS-WEB3UTILS-6229337","https://github.com/web3/web3.js/commit/8ed041c6635d807b3da8960ad49e125e3d1b0e80","https://security.snyk.io/vuln/SNYK-JS-WEB3UTILS-6229337"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:47:51.568503435+00:00"},"epss":{"cve":"CVE-2024-21505","score":0.00718,"percentile":0.53885,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2g4c-8fpm-c46v","url":"https://osv.dev/vulnerability/GHSA-2g4c-8fpm-c46v","summary":"web3-utils Prototype Pollution vulnerability","modified":"2024-03-27T22:11:44.773394Z","packages":[{"ecosystem":"npm","name":"web3-utils","purl":"pkg:npm/web3-utils","ranges":[">=4.0.1 <4.2.1"],"fixed":["4.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}