Vulnerability in Matter-Labs Era-Compiler-Vyper
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.005 (41.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 41st percentile — 41.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Matter-Labs Era-Compiler-Vyper — versions >= 1.3.12, < 1.5.3
- Matter-Labs Zkvyper
Weakness classification (CWE)
References
- github.com/matter-labs/era-compiler-vyper/security/advisories/GHSA-8j77-7rrv-6p… (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-43366?
- CVE-2024-43366 is a high-severity vulnerability in Matter-Labs Era-Compiler-Vyper, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 7.5/10. Published 2024-08-15.
- How severe is CVE-2024-43366?
- High severity. CVSS v3 base score is 7.5 out of 10.