GitHub Advisory Database
GHSA-2j4c-9qqq-896r
web3-core-method is vulnerable to prototype pollution
Details
web3-core-method is a package designed to creates the methods on the web3 modules. A Prototype Pollution vulnerability in the attachToObject function of web3-core-method version 1.10.4 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | web3-core-method | All versions up to and including 1.10.3 |