CVE-2022-31153
StarkNet OpenZeppelin Contracts Unusable Account Vulnerability
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.
INFO
Published Date :
July 15, 2022, 6:15 p.m.
Last Modified :
Nov. 21, 2024, 7:04 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2022-31153 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-31153
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Research CVEs
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-31153
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-31153
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.2.0/src/openzeppelin/account/library.cairo#L203 Added Reference https://github.com/OpenZeppelin/cairo-contracts/commit/2cd60279c3332285d47edf9ee3888b71257acdc9 Added Reference https://github.com/OpenZeppelin/cairo-contracts/issues/386 Added Reference https://github.com/OpenZeppelin/cairo-contracts/pull/387 Added Reference https://github.com/OpenZeppelin/cairo-contracts/releases/tag/v0.2.1 Added Reference https://github.com/OpenZeppelin/cairo-contracts/security/advisories/GHSA-8mjr-jr5h-q2xr -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jul. 22, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.2.0/src/openzeppelin/account/library.cairo#L203 No Types Assigned https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.2.0/src/openzeppelin/account/library.cairo#L203 Exploit, Third Party Advisory Changed Reference Type https://github.com/OpenZeppelin/cairo-contracts/commit/2cd60279c3332285d47edf9ee3888b71257acdc9 No Types Assigned https://github.com/OpenZeppelin/cairo-contracts/commit/2cd60279c3332285d47edf9ee3888b71257acdc9 Patch, Third Party Advisory Changed Reference Type https://github.com/OpenZeppelin/cairo-contracts/issues/386 No Types Assigned https://github.com/OpenZeppelin/cairo-contracts/issues/386 Exploit, Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/OpenZeppelin/cairo-contracts/pull/387 No Types Assigned https://github.com/OpenZeppelin/cairo-contracts/pull/387 Patch, Third Party Advisory Changed Reference Type https://github.com/OpenZeppelin/cairo-contracts/releases/tag/v0.2.1 No Types Assigned https://github.com/OpenZeppelin/cairo-contracts/releases/tag/v0.2.1 Release Notes, Third Party Advisory Changed Reference Type https://github.com/OpenZeppelin/cairo-contracts/security/advisories/GHSA-8mjr-jr5h-q2xr No Types Assigned https://github.com/OpenZeppelin/cairo-contracts/security/advisories/GHSA-8mjr-jr5h-q2xr Third Party Advisory Added CWE NIST CWE-863 Added CPE Configuration OR *cpe:2.3:a:openzeppelin:contracts:0.2.0:*:*:*:*:cairo:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-31153
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-31153
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.24 }} 0.79%
score
0.85175
percentile