CVE-2023-42460 MEDIUM

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

Vendor Vyperlang
Product vyper
Weakness CWE-682
Published September 26, 2023
Last update September 24, 2024

CVSS base score

5.3/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 26, 2023 CVE published
September 24, 2024 Record updated