{"id":"CVE-2024-35229","published":"2024-05-27T16:20:27Z","modified":"2024-09-03T16:03:02Z","title":"ZKsync Era evaluation order of Yul function arguments","vendor":"matter-labs","product":"era-compiler-solidity","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00399,"percentile":0.35056,"provenance":"source"},"cwes":[{"id":"CWE-696","name":"Incorrect Behavior Order"}],"references":[{"url":"https://github.com/matter-labs/era-compiler-solidity/security/advisories/GHSA-jf9w-7f5g-j95p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matter-labs/era-compiler-solidity/commit/46ce047b51576495779b9f67534207d8154eab79","tags":["x_refsource_MISC"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":7.01},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"matter-labs","affectedVersions":[{"vendor":"matter-labs","product":"era-compiler-solidity","versions":["< 1.3.10"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-06T20:53:12.579727Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35250","exploited":false,"provenance":"source"}}