CVE-2022-31153

Summary

CVECVE-2022-31153
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-07-15 18:15:00 UTC
Updated2022-07-22 16:38:00 UTC
DescriptionOpenZeppelin 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.

Risk And Classification

Problem Types: CWE-863

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Openzeppelin Contracts 0.2.0 All All All

References

ReferenceSourceLinkTags
Release v0.2.1 · OpenZeppelin/cairo-contracts · GitHub MISC github.com
`ecdsa_ptr` points to reference in Account lib's `execute` · Issue #386 · OpenZeppelin/cairo-contracts · GitHub MISC github.com
Account cannot process transactions on Goerli · Advisory · OpenZeppelin/cairo-contracts · GitHub CONFIRM github.com
Eth account support (#361) · OpenZeppelin/cairo-contracts@2cd6027 · GitHub MISC github.com
cairo-contracts/library.cairo at release-0.2.0 · OpenZeppelin/cairo-contracts · GitHub MISC github.com
Fix account signature by andrew-fleming · Pull Request #387 · OpenZeppelin/cairo-contracts · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report