VDB
KO
MEDIUM 5.3

PYSEC-2024-164

Details

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. If an excessively large value is specified as the starting index for an array in `_abi_decode`, it can cause the read position to overflow. This results in the decoding of values outside the intended array bounds, potentially leading to exploitations in contracts that use arrays within `_abi_decode`. This vulnerability affects 0.3.10 and earlier versions.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / vyper
Introduced in: 0 Fixed in: 0.4.0b1
Fix pip install --upgrade 'vyper>=0.4.0b1'

References