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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/vyperlang/vyper/security/advisories/GHSA-cx2q-hfxr-rj97 exploit patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/vyperlang/vyper/pull/3626 patch
- github.com
- github.com product
- github.com