CVE-2024-35229
published medium CVSS 3.1 · 5.3ZKsync Era evaluation order of Yul function arguments
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| matter-labs | era-compiler-solidity | < 1.3.10 (affected) | GitHub_M · cna |
| matter-labs | era-compiler-solidity | 0 to < 1.3.10 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-696 CWE-696: Incorrect Behavior Order
References
2Provider assertions
3GitHub_M · cna
ZKsync Era evaluation order of Yul function arguments
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 12e5b0d7d1bd246cc3be50ee8c814b0cd39609e49554af96b19754b9318e00d6
- Ingested
- 23 Sep 2026, 08:23:37 UTC
- Source record
- Official CVE record