CVE-2021-48020
CVE-2021-48020 · Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 8.3 · High · EPSS 0.3% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
vyper
- Versions
- ≥ 0.1.0b4, < 0.3.0: Affected (python)
- 0.3.0: Not affected (python)
Update to 0.3.0
vyper PyPI
- Versions
- 0.1.0b1
- 0.1.0b10
- 0.1.0b11
- 0.1.0b12
- 0.1.0b13
- 0.1.0b14
- 0.1.0b15
- 0.1.0b16
- 0.1.0b17
- 0.1.0b2
- 0.1.0b3
- 0.1.0b4
- 0.1.0b5
- 0.1.0b6
- 0.1.0b7
- 0.1.0b8
- 0.1.0b9
- 0.2.1
- 0.2.10
- 0.2.11
- 0.2.2
- 0.2.3
- 0.2.4
- 0.2.5
- 0.2.6
- 0.2.7
- 0.2.8
- 0.2.9
- Affected ranges
- ECOSYSTEM: < 0.2.12
Update to 0.2.12