Skip to main content
← All vulnerabilities
CVE-2021-48020GHSA-22WC-C9WJ-6Q2V

Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.0, 0.2.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • vyperlang vyper

    From 0.1.0b4 · fixed in 0.3.0

  • vyperPyPI

    fixed in 0.2.12

References 2

GitHub · vyperlang/vyper

vulncheck.com