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) - CVE-2023-26115 #37

Closed
FelipeSimoes opened this issue Jun 22, 2023 · 2 comments
Closed

Regular Expression Denial of Service (ReDoS) - CVE-2023-26115 #37

FelipeSimoes opened this issue Jun 22, 2023 · 2 comments

Comments

@FelipeSimoes
Copy link

Date: June 22, 2023
All versions of the package word-wrap are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regular expression within the result variable.

https://www.mend.io/vulnerability-database/CVE-2023-26115

result = result.replace(/[ \t]*$/gm, '');

@stof
Copy link

stof commented Jun 22, 2023

duplicate of #32

@FelipeSimoes
Copy link
Author

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