high7.5
CVE-2021-41121
Memory corruption when returning a literal struct with a private call inside of it
Impact
### 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 *
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | vyper | < 0.3.0 | 0.3.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vyperlang | Vyper | before 0.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/vyperlang/vyper/pull/2447
- https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv
- https://github.com/advisories/GHSA-xv8x-pr4h-73jv
- https://nvd.nist.gov/vuln/detail/CVE-2021-41121
- https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2021-365.yaml