PT-2024-20451

CVE-2024-24560

·

Published

2024-02-02

·

Updated

2024-02-12

Description by

CVSS 3.1
3.7
Low
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Vyper (affected versions not specified)
Description The issue arises when calls to external contracts are made, and the input buffer overlaps with the return 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. This can occur when the called contract returns invalid ABIv2 encoded data, allowing the calling contract to read different invalid data from the dirty buffer.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-GP3W-2V2M-P686
PYSEC-2024-148
Found an issue in the description? Have something to add? Feel free to write us 👾