Advisory

GHSA-xv8x-pr4h-73jv

Also known as: CVE-2021-41121, PYSEC-2021-365

Summary

Memory corruption when returning a literal struct with a private call inside of it

Details

Impact

When performing a function call inside a literal struct, there is a memory corruption issue that occurs because of an incorrect pointer to the the top of the stack.

Patches
0.3.0 / #2447

*

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-10-12 15:59 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

vyper

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.0 (ecosystem)

Fixed versions

0.3.0

Fix

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

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