CVE-2020-37286 Vyper 0.1.0b4 before 0.3.0 Memory Corruption via Nested Internal Function Calls
HighCVSS 8.3
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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 appear inside tuples or nested calls. Contracts using such calls as tuple elements, call arguments, or builtin arguments like concat or ecrecover can return corrupted values or pass wrong arguments to external calls.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi vyper | >= 0.1.0b4, < 0.3.0 | 0.3.0 | 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.1.0b4, < 0.3.0 | 0.3.0 |
References
- GitHub Security Advisory (GHSA-2r3x-4mrv-mcxf) vendor-advisory
- github.com patch
- github.com patch
- github.com product
- github.com
- github.com
- VulnCheck Advisory: Vyper 0.1.0b4 before 0.3.0 Memory Corruption via Nested Internal Function Calls third-party-advisory
- ENISA EUVD EUVD-2020-31282 third-party-advisory