Advisory

PYSEC-2018-96

Also known as: CVE-2018-18920, GHSA-vqgp-4jgj-5j64, PYSEC-2018-155

Summary

The record has no summary.

Details

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

Severity

Not rated by the source.

Dates

Published
2018-11-12 02:29 UTC
Modified
2026-05-20 08:11 UTC

Affected packages and fixes

py-evm

PyPI · All systems

Affected

  • introduced 0, fixed 0.2.0a33 (ecosystem)

Fixed versions

0.2.0a33

Fix

  • Fixed version 0.2.0a33
    pip install --upgrade py-evm==0.2.0a33

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences