CVE Catalog

CVE-2020-37288

LowCVSS 3.7
Published: Translated: NVD NIST

Summary

Vyper from 0.1.0b10 before 0.2.3 generates incorrect code for a return statement inside a for loop in an internal function called two or more internal calls deep, producing an invalid jump destination (stack underflow). Affected contracts revert such calls unnecessarily, which in limited circumstances could enable denial of service against public contracts.

Risk Assessment

This may cause unexpected reverts of transactions in smart contracts and, in limited circumstances, allow an attacker to cause denial of service against public contracts.

Recommendation

Upgrade the Vyper compiler to version 0.2.3 or later and recompile and redeploy affected contracts.

Other vulnerabilities in Vyper

See all
Original NVD description (English source)

Vyper from 0.1.0b10 before 0.2.3 generates incorrect code for a return statement inside a for loop in an internal function called two or more internal calls deep, producing an invalid jump destination (stack underflow). Affected contracts revert such calls unnecessarily, which in limited circumstances could enable denial of service against public contracts.

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