Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing of table may take too long #92

Open
swatanabe-b1 opened this issue Sep 18, 2019 · 0 comments
Open

Parsing of table may take too long #92

swatanabe-b1 opened this issue Sep 18, 2019 · 0 comments
Milestone

Comments

@swatanabe-b1
Copy link
Contributor

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.

@swatanabe-b1 swatanabe-b1 added this to the 1.1 milestone Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant