Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Vyper external calls can overflow return data to return input buffer
Vulnerability Description
Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. When calls to external contracts are made, we write the input buffer starting at byte 28, and allocate the return buffer to start at byte 0 (overlapping with the input buffer). When checking RETURNDATASIZE for dynamic types, the size is compared only to the minimum allowed size for that type, and not to the returned value's length. As a result, malformed return data can cause the contract to mistake data from the input buffer for returndata. When the called contract returns invalid ABIv2 encoded data, the calling contract can read different invalid data (from the dirty buffer) than the called contract returned.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Vulnerability Type
内存缓冲区边界内操作的限制不恰当
Vulnerability Title
Vyper 缓冲区错误漏洞
Vulnerability Description
Vyper是EVM 的 Pythonic 智能合约语言。 Vyper存在缓冲区错误漏洞,该漏洞源于将输入缓冲区中的错误数据误认为是返回数据。
CVSS Information
N/A
Vulnerability Type
N/A