-
Notifications
You must be signed in to change notification settings - Fork 15
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) on dependency 'word-wrap' #44
Comments
Thread from word-wrap for reference. It's unclear when/if that's going to be fixed at the library level, at time of writing I haven't seen anything from the maintainer in that thread yet. |
I have meet this issue. |
@gkz , If you have free time ,pls help to fix this issue. thanks. |
What issue did you actually encounter? |
For me at least, I don't think there really is an actual technical issue. The problem I'm hitting is that some organizations treat all CVEs the same. My personal use-case is using eslint; which doesn't have a lot of surface area for a real ReDoS vector. However, it still flags the same as anything else, and I am still required to remediate (or file exceptions, etc.). |
Does anyone have a suggestion for an alternate package? (I've already had to change the word wrap package once already, when the original one had licensing issues!) |
@gkz I am used "eslint": "^7.14.0" and when I use snyk check my project. and then throw a error as the image |
I mean an alternative for word-wrap |
wordwrapjs maybe? |
Hi @gkz. For now, I think the @aashutoshrathi's You can comparing changes here and see the @aashutoshrathi's npm package. Regardless, I see this as a temporary measure. References: |
I have published 0.9.2 that should resolve the issue. Thanks @wellwelwel for the tip. |
|
Hi, @gkz 🙋🏻♂️ As before in my comment:
I would just like to say that the security issue has been solved in the original word-wrap project today 🎉 Related: |
Based on this post
Software like snyk / DependencyTrack are yielding a ReDoS on the word-wrap package. This affects you because of the direct dependency on your project.
The text was updated successfully, but these errors were encountered: