CVE-2024-43366

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:matter-labs:zkvyper:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2024-08-15 21:15

Updated : 2024-09-27 18:08


NVD link : CVE-2024-43366

Mitre link : CVE-2024-43366

CVE.ORG link : CVE-2024-43366


JSON object : View

Products Affected

matter-labs

  • zkvyper
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')