cve/2018/CVE-2018-18920.md

19 lines
1016 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-18920](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18920)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
Py-EVM v0.2.0-alpha.33 allows attackers to make a vm.execute_bytecode call that triggers computation._stack.values with '"stack": [100, 100, 0]' where b'\x' was expected, resulting in an execution failure because of an invalid opcode. This is reportedly related to "smart contracts can be executed indefinitely without gas being paid."
### POC
#### Reference
- https://www.reddit.com/r/ethereum/comments/9vkk2g/netta_labs_claim_to_have_found_a_vulnerability_in/e9d3wyx/
2024-06-09 00:33:16 +00:00
- https://www.reddit.com/r/ethereum/comments/9vkk2g/netta_labs_claim_to_have_found_a_vulnerability_in/e9d3wyx/
2024-05-26 14:27:05 +02:00
#### Github
- https://github.com/demining/Solidity-Forcibly-Send-Ether-Vulnerability