Advisory

GHSA-22wc-c9wj-6q2v

Also known as: CVE-2021-48020

Summary

VVE-2021-0001: Memory corruption using function calls within arrays

Details

Impact
When performing a function call inside an array, there is a memory corruption issue that occurs because of an incorrect pointer to the the tip of the stack.

Patches
This issue was partially fixed in VVE-2020-0004, however the fix did not update similar code for arrays, which had a similar issue. The issue is fully fixed in https://github.com/vyperlang/vyper/pull/2345

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-19 15:12 UTC
Modified
2026-10-24 02:56 UTC

Affected packages and fixes

vyper

PyPI · All systems

Affected

  • introduced 0, fixed 0.2.12 (ecosystem)

Fixed versions

0.2.12

Fix

  • Fixed version 0.2.12
    pip install --upgrade vyper==0.2.12

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences