Skip to content
OpenAdvisories
Medium · 6.5 CVE-2022-31153 EUVD-2022-0403GHSA-8mjr-jr5h-q2xrPYSEC-2022-43143PYSEC-2026-890

OpenZeppelin Contracts for Cairo account cannot process transactions on Goerli

Published Jul 15, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

Description

OpenZeppelin Contracts for Cairo is a library for contract development written in Cairo for StarkNet, a decentralized ZK Rollup. Version 0.2.0 is vulnerable to an error that renders account contracts unusable on live networks. This issue 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. Only goerli deployments of v0.2.0 accounts are affected. This faulty behavior is not observed in StarkNet's testing framework. This bug has been patched in v0.2.1.

Affected products

VendorProductAffectedFixed
OpenZeppelin cairo-contracts = 0.2.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI openzeppelin-cairo-contracts < 0.2.1 0.2.1 GHSA-8mjr-jr5h-q2xr

References