What’s Vulnerable › Vulnerabilities

CVE-2023-42460: _abi_decode input not validated in complex expressions in Vyper

Description

Vyper is a Pythonic Smart Contract Language for the EVM. The `_abi_decode()` function does not validate input when it is nested in an expression. Uses of `_abi_decode()` can be constructed which allow for bounds checking to be bypassed resulting in incorrect results. This issue has not yet been fixed, but a fix is expected in release `0.3.10`. Users are advised to reference pull request #3626.

Affected products

How to fix

Upgrade to a fixed version: vyperlang vyper 0.3.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-42460 or the next vulnerability affects your stack