CVE-2020-37287 Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments
HighCVSS 8.2
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi vyper | < 0.2.6 | 0.2.6 | Fixed |
| pypi vyper(PyPI) | < 0.2.6; = 0.1.0b1; = 0.1.0b2; = 0.1.0b3 +19 more | 0.2.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi vyper(PyPI) | < 0.2.6 | 0.2.6 |
| pypi vyper(PyPI) | = 0.1.0b1 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b10 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b11 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b12 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b13 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b14 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b15 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b16 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b17 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b2 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b3 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b4 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b5 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b6 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b7 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b8 | No fix listed |
| pypi vyper(PyPI) | = 0.1.0b9 | No fix listed |
| pypi vyper(PyPI) | = 0.2.1 | No fix listed |
| pypi vyper(PyPI) | = 0.2.2 | No fix listed |
| pypi vyper(PyPI) | = 0.2.3 | No fix listed |
| pypi vyper(PyPI) | = 0.2.4 | No fix listed |
| pypi vyper(PyPI) | = 0.2.5 | No fix listed |
| pypi vyper | < 0.2.6 | 0.2.6 |
References
- GitHub Security Advisory (GHSA-4v7v-gqf9-ww2g) vendor-advisory
- github.com
- github.com patch
- github.com patch
- github.com product
- github.com
- github.com
- VulnCheck Advisory: Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments third-party-advisory
- ENISA EUVD EUVD-2020-31283 third-party-advisory