Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-42460 EUVD-2023-0268GHSA-cx2q-hfxr-rj97PYSEC-2023-191

_abi_decode input not validated in complex expressions in Vyper

Published Sep 26, 2023 · Updated Sep 24, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
vyperlang vyper >= 0.3.4, < 0.3.10 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vyper >= 0.3.4, < 0.3.10 0.3.10 GHSA-cx2q-hfxr-rj97

References