web3.js icon indicating copy to clipboard operation
web3.js copied to clipboard

Security warning when installing web3.js

Open antoniocapelo opened this issue 9 years ago • 4 comments

When installing the newest version of web3 — 1.0.0-beta.24 — with npm, it gives the following output

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

The cause of this issue can be checked here.

It seems like web3 is pushing a subdependency of a minimatch version which has a known Regular Expression Denial of Service.

I'm not entirely inside the codebase to know if this is indeed a risk we're taking.

Some urgent advise regarding this issue is appreciated.

Thanks in advance.

antoniocapelo avatar Oct 25 '17 17:10 antoniocapelo

Same issue! Please check this out!!

JamesKnippel avatar Oct 27 '17 21:10 JamesKnippel

This is an issue with xhr-request not web3. The issue has been raised on that repo (https://github.com/Jam3/xhr-request/issues/3) so this can be closed.

lukehedger avatar Nov 28 '17 11:11 lukehedger

The issue with xhr-request has now been resolved. Awaiting merge of https://github.com/MaiaVictor/xhr-request-promise/pull/2 before updating the web3.js dependencies that use xhr-request-promise.

lukehedger avatar Feb 05 '18 16:02 lukehedger

This got fixed with the refactoring. Please update to the latest version of Web3.js (1.0.0-beta.51).

nivida avatar Apr 02 '19 09:04 nivida