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

GHSL-2021-121: fix ReDoS bug #1343

Closed

Conversation

kevinbackhouse
Copy link

Fixes: #1317

This regex is very inefficient on strings like "https://a.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-}"

@ryandeivert
Copy link
Contributor

ryandeivert commented Apr 3, 2023

thanks @kevinbackhouse but this project is not accepting PRs right now, and this is not something we care about addressing. this regex only operates on user-managed text, and there is realistically no exploitable vector here. please consider taking a deeper look at how this regex is actually used

@ryandeivert ryandeivert closed this Apr 3, 2023
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

Successfully merging this pull request may close these issues.

GHSL-2021-121
2 participants