PT-2024-20449

CVE-2024-24559

·

Published

2024-02-05

·

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 versions v0.2.0 through v0.3.10
Description There is an error in the stack management when compiling the IR for sha3 64. Concretely, the height variable is miscalculated. The vulnerability can't be triggered without writing the IR by hand, meaning it cannot be triggered from regular Vyper code. sha3 64 is used for retrieval in mappings. No flow that would cache the key was found, so the issue shouldn't be possible to trigger when compiling the compiler-generated IR. This issue isn't triggered during normal compilation of Vyper code, so the impact is low.
Recommendations For Vyper versions v0.2.0 through v0.3.10, update to a version that includes the patch from https://github.com/vyperlang/vyper/pull/4063 to resolve the issue. 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-6845-XW22-FFXV
PYSEC-2024-147
Found an issue in the description? Have something to add? Feel free to write us 👾