~ / search / GHSA-vqgp-4jgj-5j64

GHSA-vqgp-4jgj-5j64

Py-EVM is vulnerable to arbitrary bytecode injection

Source: GitHub Advisory Database (reviewed) High CVE-2018-18920

Packages

EcosystemPackageAffectedFixed in
PyPI py-evm <= 0.2.0a33 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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."

References

External links from the advisory. They lead to third-party sites.