Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular Expression Denial of Service (ReDoS) of ms package < 2.0.0 #5275

Closed
JasonBoy opened this issue May 19, 2017 · 2 comments
Closed

Regular Expression Denial of Service (ReDoS) of ms package < 2.0.0 #5275

JasonBoy opened this issue May 19, 2017 · 2 comments
Milestone

Comments

@JasonBoy
Copy link

Due to an incomplete fix for previously reported vulnerability npm:ms:20151024, the new npm:ms:20170412 was reported.
Any chance to update? or update the ms package is a major change?

@clozanosanchez
Copy link
Contributor

Mongoose should update ms to v2.0.0, but mquery (another mongoose dependency) is also affected by this problem (I think they are working on to release a new version soon).

@vkarpov15 vkarpov15 added this to the 4.10.2 milestone May 23, 2017
vkarpov15 added a commit that referenced this issue May 23, 2017
@vkarpov15
Copy link
Collaborator

I pushed a fix which upgrades to the latest version of mquery, which in turn bumps its dependency on debug. Mongoose's exposure to this issue is minimal:

Still, better safe than sorry. Gonna push a new release 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants