What’s Vulnerable › Vulnerabilities

CVE-2020-37286: Vyper 0.1.0b4 before 0.3.0 Memory Corruption via Nested Internal Function Calls

Description

Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls appear inside tuples or nested calls. Contracts using such calls as tuple elements, call arguments, or builtin arguments like concat or ecrecover can return corrupted values or pass wrong arguments to external calls.

Affected products

How to fix

Upgrade to a fixed version: Pypi Vyper 0.2.6; vyperlang vyper 0.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-37286 or the next vulnerability affects your stack