Skip to content
CVE PROGRAM SOURCE RECORD8.3 High

CVE-2021-48020

Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

vyperlang vyper

Default version status: unaffected

  • 0.1.0b4 to < 0.3.0affected
  • 0.3.0unaffected
pkg:pypi/vyper

References