Vulnerabilities · 2018 · Ethereum
CVE-2018-18920
Ethereum Py-evm vulnerability
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."
Affected products
Py-evm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ethereum Py-evm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ethereum/py-evm/issues/1448 · Exploit
- twitter.com/AlexanderFisher/status/1060923428641878019 · 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_vulnerability_i · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-18920
- github.com/advisories/GHSA-vqgp-4jgj-5j64
- github.com/pypa/advisory-database/tree/main/vulns/py-evm/PYSEC-2018-96.yaml
- www.reddit.com/r/ethereum/comments/9vkk2g/netta_labs_claim_to_have_found_a_vulnerability_i
- nvd.nist.gov/vuln/detail/CVE-2018-18920
- cve.org/CVERecord?id=CVE-2018-18920
More vulnerabilities in Ethereum products
CVE-2026-22868CVE-2026-22862CVE-2023-42319CVE-2023-40591CVE-2023-36980CVE-2022-37450CVE-2022-29177CVE-2022-23328All 36
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.