OpenZeppelin Cairo Contracts 0.2.0 resource control
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.3 | $0-$5k | 0.00 |
A vulnerability, which was classified as problematic, has been found in OpenZeppelin Cairo Contracts 0.2.0. Affected by this issue is some unknown functionality. The manipulation with an unknown input leads to a resource control vulnerability. Using CWE to declare the problem leads to CWE-664. The product does not maintain or incorrectly maintains control over a resource throughout its lifetime of creation, use, and release. Impacted is availability. CVE summarizes:
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.
The weakness was released 07/16/2022 as GHSA-8mjr-jr5h-q2xr. The advisory is shared for download at github.com. This vulnerability is handled as CVE-2022-31153 since 05/18/2022. There are neither technical details nor an exploit publicly available.
Upgrading to version 0.2.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 2cd60279c3332285d47edf9ee3888b71257acdc9 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Product
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 6.5
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Resource controlCWE: CWE-664
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Cairo Contracts 0.2.1
Patch: 2cd60279c3332285d47edf9ee3888b71257acdc9
Timeline
05/18/2022 🔍07/16/2022 🔍
07/16/2022 🔍
07/16/2022 🔍
Sources
Advisory: GHSA-8mjr-jr5h-q2xrStatus: Confirmed
CVE: CVE-2022-31153 (🔍)
Entry
Created: 07/16/2022 09:59Changes: 07/16/2022 09:59 (52)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.