CVE-2024-35229CWE-696

ZKsync Era evaluation order of Yul function arguments

Medium · published May 27, 2024

CVSS v3.1
5.3
EPSS
0%
Percentile
33.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00399 · 33.0th percentile
Weakness
CWE-696 · Incorrect Behavior Order
Published
2024-05-27T16:20Z
EPSS history
Timeline
  • 27 MAY 16:20Z
    ZKsync Era evaluation order of Yul function arguments
    cvelistv5