Unrated severityNVD Advisory· Published Aug 15, 2024· Updated Aug 16, 2024
zkvyper ignored loop range bounds
CVE-2024-43366
Description
zkvyper is a Vyper compiler. Starting in version 1.3.12 and prior to version 1.5.3, since LLL IR has no Turing-incompletness restrictions, it is compiled to a loop with a much more late exit condition. It leads to a loss of funds or other unwanted behavior if the loop body contains it. However, more real-life use cases like iterating over an array are not affected. No contracts were affected by this issue, which was fixed in version 1.5.3. Upgrading and redeploying affected contracts is the only way to avoid the vulnerability.
Affected products
1- Range: >= 1.3.12, < 1.5.3
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- github.com/matter-labs/era-compiler-vyper/security/advisories/GHSA-8j77-7rrv-6pxxmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.