EOSIO / EOSIO/eos-vm

Parsing of table may take too long

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
200
Forks
62
PR merge metrics
No merged PRs in 30d

Description

The table is fully instantiated by the parser, which may cause it to create a vector of 2^32-1 elements when parsing a small wasm, leading to potential DOS attacks. This is safe in nodeos for now, because the size of the table is bounded by validation, before eos-vm sees it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.