-
Notifications
You must be signed in to change notification settings - Fork 440
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
Possible ReDos in the read_directive method #995
Comments
@nobu do we need to have a CVE for this? |
No, we do not believe it is necessary. |
I am not sure @nobu if some service provides that. But i believe it will be better if we have a CVE as user will make informed decision. |
There is a possible ReDos issue
https://github.com/ruby/rdoc/blob/master/lib/rdoc/parser/ruby.rb#L2137 with string for example:
'0'*54773 + '\x000:'
https://github.com/ruby/rdoc/blob/master/lib/rdoc/comment.rb#L100 with string ex:
'\n'*106500100 + 'call-seq:' + 'a'*165100000
The text was updated successfully, but these errors were encountered: