Interger overflow in str_substr leading to read/write out of bound memory
该报告还没有中文解读。
原文摘录
摘自原文(711 字符中的一小部分)
Failed check len & beg in str_substr when call mrb_str_aref_m by String. This can lead to read/write into invalid memory which may be memory corruption or RCE. this snippet causes a crash in mruby(i can't check mruby-engine by error undefined symbol >rb_utf8_str_new ):
原文中的代码
$b="B"*2048 $expand=$b[0x40,0x7fffffff] puts $expand.size() puts $expand
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 shopify-scripts 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @beyondchain · 版权归作者与 shopify-scripts 所有