ethereum / aleth

Aleth – Ethereum C++ client, tools and libraries
GNU General Public License v3.0
3.96k stars 2.18k forks source link

"infinite loop" test can cause potential denial of service #5906

Open BattleBird opened 4 years ago

BattleBird commented 4 years ago

when we use a bytecode which contains an "infinite loop" to test the aleth, the aleth will keep running and consume the memory and CPU resources until the out of memory and crash. If we use the crafted bytecode to attack the aleth-vm, is this a kind of denial of service?

BattleBird commented 4 years ago

we use this simple example as follows, Screenshot from 2020-05-31 22-36-52