CVE-2022-31153Medium· 6.5▾ SunlitOpenZeppelin Contracts for Cairo account cannot process transactions on Goerli
▾ Sunlit zone — Low / medium · no exploitation signal
impact 35.8 · likelihood 0.3 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.1%
1.1% → 1.4%
This vulnerability affects all accounts (vanilla and ethereum flavors) in the v0.2.0 release of OpenZeppelin Contracts for Cairo, which are not whitelisted on StarkNet mainnet, so only goerli deployments of v0.2.0 accounts are affected.
This faulty behavior is not observed in StarkNet's testing framework, so don't rely on it passing to detect this issue on custom accounts.
This bug has been patched in v0.2.1.
The issue is detailed in https://github.com/OpenZeppelin/cairo-contracts/issues/386.
If you have any questions or comments about this advisory:
openzeppelin-cairo-contracts < 0.2.1Upgrade to a patched release:
openzeppelin-cairo-contracts 0.2.1