CVE-2018-18920: Py-EVM is vulnerable to arbitrary bytecode injection
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.72987%
CWE
Published
11/21/2018
Updated
10/21/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
py-evm | pip | <= 0.2.0a33 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability explicitly references vm.execute_bytecode as the entry point for triggering the issue, indicating improper input handling or gas enforcement. The stack corruption (via computation._stack.values) points to a failure in type validation during stack operations. While execute_bytecode is directly implicated (high confidence), the exact stack-handling functions are inferred from the error context (medium confidence due to lack of explicit code references).