Skip to content

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

High
charles-cooper published GHSA-xv8x-pr4h-73jv Oct 6, 2021

Package

pip vyper (pip)

Affected versions

<0.3.0

Patched versions

0.3.0

Description

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

CVE ID

CVE-2021-41121

Weaknesses

No CWEs