CVE-2024-45304
CVSS V2 None
CVSS V3 None
Description
Cairo-Contracts are OpenZeppelin Contracts written in Cairo for Starknet, a decentralized ZK Rollup. This vulnerability can lead to unauthorized ownership transfer, contrary to the original owner's intention of leaving the contract without an owner. It introduces a security risk where an unintended party (pending owner) can gain control of the contract after the original owner has renounced ownership. This could also be used by a malicious owner to simulate leaving a contract without an owner, to later regain ownership by previously having proposed himself as a pending owner. This issue has been addressed in release version 0.16.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Overview
- CVE ID
- CVE-2024-45304
- Assigner
- GitHub_M
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-08-30T23:51:01.301Z
- Last Modified Date
- 2024-08-30T23:51:18.368Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/OpenZeppelin/cairo-contracts/security/advisories/GHSA-w2px-25pm-2cf9 | x_refsource_CONFIRM |
https://github.com/OpenZeppelin/cairo-contracts/commit/ef87d7847980e0cf83f4b7f3ff23e6590fb643ec | x_refsource_MISC |
https://github.com/OpenZeppelin/cairo-contracts/releases/tag/v0.16.0 | x_refsource_MISC |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2024-45304 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45304 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-08-31 13:06:11 | Added to TrackCVE |