Advisory

PYSEC-2018-155

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

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

High Basis: CVSS v3 score 8.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2018-11-12 02:29 UTC
Modified
2026-05-21 15:00 UTC

Affected packages and fixes

evm-py

PyPI · All systems

Affected

  • introduced 0, last affected 0.2.0-alpha\.33 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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