{"id":"CVE-2024-35229","aliases":["CVE-2024-35229"],"related":[],"kind":"vulnerability","state":"published","title":"ZKsync Era evaluation order of Yul function arguments","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"ZKsync Era es un paquete acumulativo de capa 2 que utiliza pruebas de conocimiento cero para escalar Ethereum. Antes de la versión 1.3.10, existía un patrón muy específico `f(a(),b()); check_if_a_executed_last()` en Yul que expone un error en el orden de evaluación de los argumentos de la función Yul. Esta vulnerabilidad se ha solucionado en la versión 1.3.10. Como workaround, actualice y vuelva a implementar los contratos afectados.","source":"nvd"}],"published":"2024-05-27T16:20:27.432Z","modified":"2026-06-17T07:34:35.177Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-696"],"affected":[{"ranges":[{"version":"< 1.3.10","status":"affected"}],"vendor":"matter-labs","product":"era-compiler-solidity","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.3.10","status":"affected"}],"vendor":"matter-labs","product":"era-compiler-solidity","cpe":"cpe:2.3:a:matter-labs:era-compiler-solidity:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://github.com/matter-labs/era-compiler-solidity/security/advisories/GHSA-jf9w-7f5g-j95p","tags":["x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/matter-labs/era-compiler-solidity/commit/46ce047b51576495779b9f67534207d8154eab79","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-08-06T20:53:12.579Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35229","url":"https://www.cve.org/CVERecord?id=CVE-2024-35229","licence":"CVE Terms of Use","modified":"2024-09-03T16:03:02.966Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35229","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35229","licence":"Public domain","modified":"2026-06-17T07:34:35.177Z"}],"updatedAt":"2026-11-25T22:58:40.946Z","epss":{"score":0.00399,"percentile":0.36305,"date":"2026-12-01T12:00:22.000Z"}}