You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bcrypt itself has no runtime dependencies. node-pre-gyp is used to install compiled binaries from `Github during install. The correct place to open this issue would be with node-pre-gyp or request module.
The ReDoS vulnerebility cannot be triggered on bcrypt while running.
However if you are paranoid, you can use npm install --build-from-source to compile all binaries. This does not use the code-path involving the tough-cookie module.
@agathver Indeed, however the problem is although node-pre-gyp is not really a runtime dependency, it is listed as one because it's needed at install time. I blame npm (joking) but since we can't fix that... node-pre-gyp currently has an open issue for this on their end: mapbox/node-pre-gyp#322.
A lot of nsp users are going to run into this for dependencies that rely on node-pre-gyp unfortunately. Since bcrypt depends on an exact node-pre-gyp version it would be good if you can update your dependency once they release a new version.
While checking security of my project I found a vulnerability in this package.
The text was updated successfully, but these errors were encountered: