Invalid memory write caused by incorrect upper bound in array_copy
该报告还没有中文解读。
原文摘录
摘自原文(7620 字符中的一小部分)
It only crashes in mruby, and can't be made to crash in mruby-engine as max memory possible to extend to is 256M which this requires more.
原文中的代码
values = [3,5,8]
test = [1,6]
results,= [1.2]
values.each do |value|
case value
when *test
results << value
when *test*= results <<=value
end
end默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 shopify-scripts 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @haquaman · 版权归作者与 shopify-scripts 所有