LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31153: OpenZeppelin Contracts for Cairo account cannot process transactions on Goerli

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This issue can make OpenZeppelin Cairo account contracts from version 0.2.0 unusable on StarkNet Goerli. The impact is availability, not data theft or transaction manipulation. Sources say the bug is fixed in v0.2.1 and was not seen in StarkNet’s testing framework.

Executive priority

Treat as a moderate availability issue. Prioritize teams relying on StarkNet Goerli accounts for development, testing, demos, or customer-facing testnet workflows. Main business urgency is avoiding blocked transactions and stalled delivery pipelines.

Technical view

CVE-2022-31153 affects OpenZeppelin cairo-contracts 0.2.0 account contracts, including vanilla and ethereum flavors. The vulnerable behavior prevents affected accounts from processing transactions on live Goerli deployments. CVSS 3.1 is 6.5 with high availability impact and no confidentiality or integrity impact.

Likely exposure

Exposure appears limited to projects that deployed OpenZeppelin Contracts for Cairo account contracts using v0.2.0 on StarkNet Goerli. The source bundle says only Goerli deployments of v0.2.0 accounts are affected.

Exploitation context

No active exploitation is cited, and the CVE is not listed as KEV in the supplied bundle. The main risk is operational disruption: affected accounts may be unable to process transactions on the affected live network.

Researcher notes

Evidence is specific to OpenZeppelin cairo-contracts v0.2.0 account contracts on Goerli. Do not generalize this to all StarkNet contracts or later OpenZeppelin releases. The advisory states the issue was patched in v0.2.1.

Mitigation direction

  • Upgrade OpenZeppelin cairo-contracts from v0.2.0 to v0.2.1 or later.
  • Identify and replace affected Goerli account deployments built from v0.2.0.
  • Review OpenZeppelin advisory and v0.2.1 release notes before redeployment.
  • Document any impacted testnet accounts and dependency changes.

Validation and detection

  • Inventory Cairo dependencies for exact OpenZeppelin cairo-contracts v0.2.0 usage.
  • Identify deployed StarkNet Goerli account contracts using the affected release.
  • Confirm patched code or dependency lockfiles reference v0.2.1 or later.
  • Check whether account transaction processing is restored after migration.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-664: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31153 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
7Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H2.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2022-31153Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
OpenZeppelincairo-contracts= 0.2.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-664 · source CWE mapping

Improper Control of a Resource Through its Lifetime

Improper Control of a Resource Through its Lifetime represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.