6.5Medium

CVE-2021-48020Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays

vyperlang vyper Published: (25 days ago)

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 are performed inside arrays. Contracts placing internal calls in nested array elements, external call arguments, struct literals, or raw_log topics can have memory corrupted, producing incorrect contract behavior.

Weakness (CWE): CWE-787

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
vyperlang vyper 0.1.0b4 – < 0.3.0, fixed 0.3.0

References and patches