{"id":"CVE-2024-21505","state":"PUBLISHED","title":"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 c","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.","publishedAt":"2024-03-25T05:00:00.749Z","updatedAt":"2024-08-23T19:10:40.905Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","source":"snyk"},"assigner":"snyk","products":["n/a web3-utils"],"affected":[{"vendor":"n/a","product":"web3-utils","versions":[{"version":"0","status":"affected","lessThan":"4.2.1","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-WEB3UTILS-6229337","https://github.com/web3/web3.js/commit/8ed041c6635d807b3da8960ad49e125e3d1b0e80"],"weaknesses":["CWE-1321"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/21xxx/CVE-2024-21505.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-21505","state":"PUBLISHED","datePublished":"2024-03-25T05:00:00.749Z","dateUpdated":"2024-08-23T19:10:40.905Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2023-12-22T12:33:20.119Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"web3-utils","versions":[{"version":"0","status":"affected","lessThan":"4.2.1","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-WEB3UTILS-6229337"},{"url":"https://github.com/web3/web3.js/commit/8ed041c6635d807b3da8960ad49e125e3d1b0e80"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1321","description":"Prototype Pollution","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2024-03-25T05:00:00.749Z"},"credits":[{"value":"Tariq Hawis","lang":"en"}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"web3","product":"web3-utils","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"4.2.1","versionType":"custom"}],"cpes":["cpe:2.3:a:web3:web3-utils:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-23T19:10:35.532555Z","id":"CVE-2024-21505","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1321","type":"CWE","lang":"en","description":"CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-23T19:10:40.905Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-WEB3UTILS-6229337","tags":["x_transferred"]},{"url":"https://github.com/web3/web3.js/commit/8ed041c6635d807b3da8960ad49e125e3d1b0e80","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T22:20:40.897Z"}}]}}}