Buffer overflow in Ethereum Py-Evm
CVE-2018-18920
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."
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.029, 87.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ethereum Py-Evm — versions 0.2.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (demining/Solidity-Forcibly-Send-Ether-Vulnerability). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- twitter.com/AlexanderFisher/status/1060923428641878019 (Third Party Advisory)
- github.com/ethereum/py-evm/issues/1448 (Exploit, Third Party Advisory)
- twitter.com/NettaLab/status/1060889400102383617 (Third Party Advisory)
- www.reddit.com/r/ethereum/comments/9vkk2g/netta_labs_claim_to_have_found_a_vuln… (Third Party Advisory)