The parser_yyerror function in the UTF-8 parser in Ruby 2.4.1 allows attackers to cause a denial of service (invalid write or read) or possibly have unspecified other impact via a crafted Ruby script, related to the parser_tokadd_utf8 function in parse.y. NOTE: this might have security relevance as a bypass of a $SAFE protection mechanism.
The product reads data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://bugs.ruby-lang.org/issues/13742 | issue tracking patch vendor advisory |
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/59344 | issue tracking patch vendor advisory |