Skip to main content
← All vulnerabilities
CVE-2024-35229

ZKsync Era evaluation order of Yul function arguments

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

ZKsync Era is a layer 2 rollup that uses zero-knowledge proofs to scale Ethereum. Prior to version 1.3.10, there is a very specific pattern `f(a(),b()); check_if_a_executed_last()` in Yul that exposes a bug in evaluation order of Yul function arguments. This vulnerability has been fixed in version 1.3.10. As a workaround, update and redeploy affected contracts.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • matter-labs era-compiler-solidity

    fixed in 1.3.10

References 2

GitHub · matter-labs/era-compiler-solidity