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

glob-parent before 6.0.1 vulnerable to Regular Expression Denial of Service (ReDoS) #505

Closed
josemiguel-alvarez opened this issue Jul 18, 2022 · 2 comments

Comments

@josemiguel-alvarez
Copy link
Contributor

glob-parent before 6.0.1 is vulnerable to Regular Expression Denial of Service (ReDoS).

The security issue was fixed here.

Suggested solution

Require version ^6.0.1 of glob-parent using NPM overrides in package.json.

@josemiguel-alvarez
Copy link
Contributor Author

I've created a PR to fix it: #506

@timlrx
Copy link
Owner

timlrx commented Jul 23, 2022

Hi, as mentioned in the PR, I think there's no need for the patch. It's used internally only by tailwind, contentlayer, eslint and globby. No user is ever going to submit an input for parsing.

@timlrx timlrx closed this as completed Jul 26, 2022
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