Live threats

All CVEs / Openzeppelin

CVE-2022-31153Openzeppelin Contracts

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
Yes
Published
Jul 15, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-664, CWE-863
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Contracts.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI openzeppelin-cairo-contracts < 0.2.1 0.2.1 pip install "openzeppelin-cairo-contracts>=0.2.1"
PyPI openzeppelin-cairo-contracts < 0.2.1 0.2.1 pip install "openzeppelin-cairo-contracts>=0.2.1"

Per OSV / GitHub Advisories (GHSA-8mjr-jr5h-q2xr, PYSEC-2026-890). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
openzeppelincontracts0.2.0

Official sources

References

Links published by the sources. Open them with care.