PT-2023-28356 · Vyper · Vyper
Charles-Cooper
+1
·
Published
2023-09-26
·
Updated
2023-09-29
·
CVE-2023-42460
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Vyper versions prior to 0.3.10
Description
The
abi decode() function in Vyper does not validate input when it is nested in an expression, allowing for bounds checking to be bypassed and resulting in incorrect results. This can be triggered by constructing specific examples where the output of abi decode is not internally passed to input validating routines.Recommendations
For versions prior to 0.3.10, update to version 0.3.10 to resolve the issue. As a temporary workaround, consider avoiding the use of
abi decode() in nested expressions until the patch is applied. Restrict access to the abi decode() function to minimize the risk of exploitation.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Vyper