Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/matter-labs/era-compiler-solidity/commit/46ce047b51576495779b
- https://github.com/matter-labs/era-compiler-solidity/security/advisories/GHSA-jf
- https://github.com/matter-labs/era-compiler-solidity/commit/46ce047b51576495779b
- https://github.com/matter-labs/era-compiler-solidity/security/advisories/GHSA-jf
FAQ
What is CVE-2024-35229?
CVE-2024-35229 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2024-35229?
CVE-2024-35229 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-35229?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.