SCA: security update for openzeppelin-cairo-contracts (GHSA-8mjr-jr5h-q2xr)

medium Tenable Self-Hosted Container Security Plugin ID 412761

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-31153)

See Also

https://github.com/advisories/GHSA-8mjr-jr5h-q2xr

Plugin Details

Severity: Medium

ID: 412761

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:C

CVSS Score Source: CVE-2022-31153

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/15/2022

Vulnerability Publication Date: 7/15/2022

Reference Information

CVE: CVE-2022-31153