PT-2024-20455

CVE-2024-24564

·

Published

2024-02-26

·

Updated

2025-01-16

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Vyper versions prior to 0.4.0
Description The issue arises when using the built-in extract32(b, start) function in Vyper, a pythonic Smart Contract Language for the Ethereum virtual machine. If the start index provided has a side effect that updates b, the byte array, it could lead to reading and returning dirty memory.
Recommendations For versions prior to 0.4.0, update to version 0.4.0 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the extract32(b, start) function when the start index has a side effect that updates b. Restrict access to the extract32 function to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-4HWQ-4CPM-8VMX
PYSEC-2024-205
Found an issue in the description? Have something to add? Feel free to write us 👾