KEMBAR78
Fix ReDoS (GHSL-2021-110) by kevinbackhouse · Pull Request #243 · python-validators/validators · GitHub
Skip to content

Conversation

kevinbackhouse
Copy link

Remove two + characters from the regex. They don't make any difference to the string that the regex can match, but they're causing a ReDoS. I've also added a regression test for the ReDoS.

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.

1 participant