GHSA-xv8x-pr4h-73jv
Dashboard / Vulnerabilities / GHSA-xv8x-pr4h-73jv
GHSA-xv8x-pr4h-73jv
Published: 12 Oct 2021Last Modified: 8 Jul 2026
Aliases:
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 *
References: https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv, https://nvd.nist.gov/vuln/detail/CVE-2021-41121, https://github.com/vyperlang/vyper/pull/2447, https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2021-365.yaml, https://github.com/vyperlang/vyper
Affected packages
Package
Name: vyper
Purl: pkg:pypi/vyper
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -0.3.0
Affected versions
0.1.0b1
0.1.0b10
0.1.0b11
0.1.0b12
0.1.0b13
0.1.0b14
0.1.0b15
0.1.0b16
0.1.0b17
0.1.0b2
0.1.0b3
0.1.0b4
0.1.0b5
0.1.0b6
0.1.0b7
0.1.0b8
0.1.0b9
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
