GHSA-8mjr-jr5h-q2xr

Suggest an improvement
Source
https://github.com/advisories/GHSA-8mjr-jr5h-q2xr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-8mjr-jr5h-q2xr/GHSA-8mjr-jr5h-q2xr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8mjr-jr5h-q2xr
Aliases
Published
2022-07-15T18:17:19Z
Modified
2024-11-22T18:25:53.823455Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
OpenZeppelin Contracts for Cairo account cannot process transactions on Goerli
Details

Impact

This vulnerability 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, so only goerli deployments of v0.2.0 accounts are affected.

This faulty behavior is not observed in StarkNet's testing framework, so don't rely on it passing to detect this issue on custom accounts.

Patches

This bug has been patched in v0.2.1.

References

The issue is detailed in https://github.com/OpenZeppelin/cairo-contracts/issues/386.

For more information

If you have any questions or comments about this advisory: * Open an issue in the Contracts for Cairo repo * Email us at security@openzeppelin.com

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2022-07-15T18:17:19Z",
    "nvd_published_at": "2022-07-15T18:15:00Z",
    "cwe_ids": [
        "CWE-664",
        "CWE-863"
    ],
    "severity": "MODERATE"
}
References

Affected packages

PyPI / openzeppelin-cairo-contracts

Package

Name
openzeppelin-cairo-contracts
View open source insights on deps.dev
Purl
pkg:pypi/openzeppelin-cairo-contracts

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.2.1

Affected versions

0.*

0.1.0
0.2.0