Vulnerability Description
Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls are performed inside arrays. Contracts placing internal calls in nested array elements, external call arguments, struct literals, or raw_log topics can have memory corrupted, producing incorrect contract behavior.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-22wc-c9wj-6q2v
- https://www.vulncheck.com/advisories/vyper-before-0.3.0-memory-corruption-via-in
FAQ
What is CVE-2021-48020?
CVE-2021-48020 is a vulnerability with a CVSS score of 6.5 (MEDIUM). Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls are performed inside arrays. Contracts placing internal...
How severe is CVE-2021-48020?
CVE-2021-48020 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-48020?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.