Vulnerability Description
Vyper before 0.2.6 contains a call stack corruption vulnerability that causes incorrect function outputs when complex types with non-base members are passed as arguments. Contracts passing multi-dimensional arrays or structs to internal or external functions receive corrupted values because the compiler assumed each subtype size is 32.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-4v7v-gqf9-ww2g
- https://www.vulncheck.com/advisories/vyper-before-0.2.6-call-stack-corruption-vi
FAQ
What is CVE-2020-37287?
CVE-2020-37287 is a vulnerability with a CVSS score of 5.9 (MEDIUM). Vyper before 0.2.6 contains a call stack corruption vulnerability that causes incorrect function outputs when complex types with non-base members are passed as arguments. Contracts passing multi-dimen...
How severe is CVE-2020-37287?
CVE-2020-37287 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-37287?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.