-
Notifications
You must be signed in to change notification settings - Fork 976
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
Vulnerable Regular Expression #501
Comments
Thanks for the report. Patch welcome! The |
@TooTallNate As far as I can tell no security patch for this issue has yet been released for 3.x, is this in the works? Thanks! |
@fadookie Yes correct, thanks for the nudge. v3.1.0 has now been published. |
Fixes a security vulnerability: debug-js/debug#501
This version of debug addresses a minor ReDoS issue. See debug-js/debug#501, debug-js/debug#504 for more information. Looking at the rest of the changelog, this should be a pretty low-risk upgrade.
This version of debug addresses a minor ReDoS issue. See debug-js/debug#501, debug-js/debug#504 for more information. Looking at the rest of the changelog, this should be a pretty low-risk upgrade.
Hello, Thanks, |
@yaniv-checkmarx Hi. Feel free to submit a report to me at josh.junon@protonmail.com if you think you've found a security issue with Thanks. |
@Qix- Hi, I sent you on September 14th the email, don't know if you got it. |
Hi @yaniv-checkmarx, I've been focused on other things the last few weeks. Apologies. I'll take a look within the next week to see if I can validate. |
@Qix- pinging you on this issue :) |
Confirmed, regressed in Will push a fix, thank you for the report @yaniv-checkmarx @Eden-checkmarx. Apologies for the delay until now. |
The following regular expression used in the "o" formatter is vulnerable to ReDoS:
/\s*\n\s*/
The slowdown is moderately low: for 50.000 characters around 2 seconds matching time. However, I would still suggest one of the following:
If needed, I can provide an actual example showing the slowdown.
The text was updated successfully, but these errors were encountered: