CVE Catalog

CVE-2020-37286

MediumCVSS 6.5
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Corrupted values and wrong arguments can lead to incorrect contract behavior, including faulty cryptographic operations and transfers. Organizations using Vyper with nested calls are exposed to integrity errors and potential losses.

Recommendation

Upgrade the Vyper compiler to version 0.3.0 or later and redeploy affected contracts. Re-audit contracts using internal calls inside tuples and builtin arguments.

Other vulnerabilities in Vyper

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS