Skip to content

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

HighCVSS 7.5 EPSS 0.67%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi vyper(PyPI) = 0.3.4; = 0.3.5; = 0.3.6; = 0.3.7 +8 more 0.3.10 Fixed
vyperlang vyper = >= 0.3.4, < 0.3.10; >= 0.3.4, < 0.3.10 0.3.10 Fixed

Affected products

ProductAffected versionsFixed in
pypi vyper(PyPI) >= 0.3.4, < 0.3.10 0.3.10
pypi vyper(PyPI) = 0.3.10rc1 No fix listed
pypi vyper(PyPI) = 0.3.10rc2 No fix listed
pypi vyper(PyPI) = 0.3.10rc3 No fix listed
pypi vyper(PyPI) = 0.3.10rc4 No fix listed
pypi vyper(PyPI) = 0.3.10rc5 No fix listed
pypi vyper(PyPI) = 0.3.4 No fix listed
pypi vyper(PyPI) = 0.3.5 No fix listed
pypi vyper(PyPI) = 0.3.6 No fix listed
pypi vyper(PyPI) = 0.3.7 No fix listed
pypi vyper(PyPI) = 0.3.8 No fix listed
pypi vyper(PyPI) = 0.3.9 No fix listed
vyperlang vyper = >= 0.3.4, < 0.3.10 No fix listed
vyperlang vyper >= 0.3.4, < 0.3.10 0.3.10

References