Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
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
FAQ
What is CVE-2024-21505?
CVE-2024-21505 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 obj...
How severe is CVE-2024-21505?
CVE-2024-21505 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21505?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.