Null pointer dereference in mrb_random_initialize
该报告还没有中文解读。
原文摘录
摘自原文(985 字符中的一小部分)
Sorry I was not quite sure about the scope. This bug is not triggerable in the sandbox, because it does not use the Random class, but it is triggerable in mruby with the following piece of code:
原文中的代码
$r = Random.new
a = Object.new
def a.to_int
$r.rand
end
$r.initialize a默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 shopify-scripts 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @eboda · 版权归作者与 shopify-scripts 所有