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

Fix ReDoS caused by very large character references using repeated 0s #169

Merged
merged 3 commits into from
Jul 16, 2024

Conversation

Watson1978
Copy link
Contributor

@Watson1978 Watson1978 commented Jul 16, 2024

This patch will fix the ReDoS that is caused by large string of 0s on a character reference (like &#00000000...).

This is occurred in Ruby 3.1 or earlier.

This patch will fix the ReDoS that is caused by large string of 0s on a character reference (like `&#00000000...`).

This is occurred in Ruby 3.1 or earlier.
@kou kou merged commit 0af55fa into ruby:master Jul 16, 2024
61 checks passed
@kou
Copy link
Member

kou commented Jul 16, 2024

Thanks.

@Watson1978 Watson1978 deleted the fix-performance-0 branch July 17, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants