{"cve":"CVE-2022-31153","nvd":{"published":"2022-07-15T18:15:08.760","modified":"2026-06-17T04:44:54.940","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-863","CWE-664"],"references":["https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.2.0/src/openzeppelin/account/library.cairo#L203","https://github.com/OpenZeppelin/cairo-contracts/commit/2cd60279c3332285d47edf9ee3888b71257acdc9","https://github.com/OpenZeppelin/cairo-contracts/issues/386","https://github.com/OpenZeppelin/cairo-contracts/pull/387","https://github.com/OpenZeppelin/cairo-contracts/releases/tag/v0.2.1"],"products":["openzeppelin:contracts"],"source":"nvd","synced_at":"2026-10-19T21:33:44.859608815+00:00"},"epss":{"cve":"CVE-2022-31153","score":0.01455,"percentile":0.73474,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8mjr-jr5h-q2xr","url":"https://osv.dev/vulnerability/GHSA-8mjr-jr5h-q2xr","summary":"OpenZeppelin Contracts for Cairo account cannot process transactions on Goerli","modified":"2026-07-07T11:56:13.926969293Z","packages":[{"ecosystem":"PyPI","name":"openzeppelin-cairo-contracts","purl":"pkg:pypi/openzeppelin-cairo-contracts","ranges":["<0.2.1"],"fixed":["0.2.1"]}]},{"id":"PYSEC-2026-890","url":"https://osv.dev/vulnerability/PYSEC-2026-890","summary":"OpenZeppelin Contracts for Cairo account cannot process transactions on Goerli","modified":"2026-07-07T11:45:16.088226891Z","packages":[{"ecosystem":"PyPI","name":"openzeppelin-cairo-contracts","purl":"pkg:pypi/openzeppelin-cairo-contracts","ranges":["<0.2.1"],"fixed":["0.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}