Computing hash of crafted block leads to crash in tree_hash()
该报告还没有中文解读。
原文摘录
摘自原文(1767 字符中的一小部分)
I'm not sure how to test this against against an actual Monero instance, so I'm instead showing an isolated PoC:
原文中的代码
#include <cryptonote_basic/cryptonote_format_utils.h>
int main(void)
{
cryptonote::block b = AUTO_VAL_INIT(b);
for (size_t i = 0; i < 300000; i++) {
b.tx_hashes.push_back({});
}
std::ostringstream oss;
binary_archive<true> ba(oss);
std::string s;
if ( …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Monero 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @guido · 版权归作者与 Monero 所有