Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZxZ3AtNGpnai01ajY0
Py-EVM is vulnerable to arbitrary bytecode injection
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."
Permalink: https://github.com/advisories/GHSA-vqgp-4jgj-5j64JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZxZ3AtNGpnai01ajY0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 5 years ago
Updated: 8 months ago
CVSS Score: 8.8
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Identifiers: GHSA-vqgp-4jgj-5j64, CVE-2018-18920
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-18920
- https://github.com/ethereum/py-evm/issues/1448
- https://github.com/advisories/GHSA-vqgp-4jgj-5j64
- https://twitter.com/AlexanderFisher/status/1060923428641878019
- https://twitter.com/NettaLab/status/1060889400102383617
- https://www.reddit.com/r/ethereum/comments/9vkk2g/netta_labs_claim_to_have_found_a_vulnerability_in/e9d3wyx/
Blast Radius: 20.1
Affected Packages
pypi:py-evm
Dependent packages: 27Dependent repositories: 192
Downloads: 326,861 last month
Affected Version Ranges: <= 0.2.0a33
No known fixed version
All affected versions: 0.2.0-a1, 0.2.0-a3, 0.2.0-a10, 0.2.0-a11, 0.2.0-a12, 0.2.0-a13, 0.2.0-a14, 0.2.0-a15, 0.2.0-a16, 0.2.0-a17, 0.2.0-a18, 0.2.0-a19, 0.2.0-a20, 0.2.0-a21, 0.2.0-a22, 0.2.0-a24, 0.2.0-a25, 0.2.0-a26, 0.2.0-a28, 0.2.0-a29, 0.2.0-a30, 0.2.0-a31, 0.2.0-a32, 0.2.0-a33