PT-2023-22992

CVE-2023-30837

·

Published

2023-05-05

·

Updated

2023-08-02

Description by

CVSS 4.0
8.7
High
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Vyper versions prior to 0.3.8
Description The storage allocator in Vyper does not guard against allocation overflows, allowing an attacker to overwrite the owner variable. This issue can be exploited by calling a contract with specific calldata, enabling the attacker to modify the owner variable. The issue was fixed in version 0.3.8.
Recommendations For versions prior to 0.3.8, update to version 0.3.8 to resolve the issue. As a temporary workaround, consider restricting access to the foo function until the update is applied. Avoid using the buffer variable in the affected contract until the issue is resolved.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
GHSA-MGV8-GGGW-MRG6
PYSEC-2023-76
Found an issue in the description? Have something to add? Feel free to write us 👾