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 #4

Closed
cleiton-tavares opened this issue Sep 4, 2018 · 1 comment
Closed

Regular Expression Denial of Service #4

cleiton-tavares opened this issue Sep 4, 2018 · 1 comment

Comments

@cleiton-tavares
Copy link

As reported by nodesecurity there is a known bug that allows denial of service as attached below

NodeSecurity Report
Affected versions of string are vulnerable to regular expression denial of service when specifically crafted untrusted user input is passed into the underscore or unescapeHTML methods.

Read more - https://nodesecurity.io/advisories/536

@xinghengwang
Copy link
Member

Thank you.

The issue is regarding using underscore and unescapeHTML methods of the string.js libary.
jprichardson/string.js#212

The moesif-express library does not use those two methods, but regardless, we will also remove the dependency on "string.js" sometime in the future.

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

2 participants