CVE-2024-45304
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.
Description as published by the source, in English.
Key facts
- Published
- 2024-08-31
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.5 %
higher than 39 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Openzeppelin | Contracts | < 0.16.0 | Affected |
Weakness type
-
CWE-670: Always-Incorrect Control Flow Implementation
The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.
References
- https://github.com/OpenZeppelin/cairo-contracts/commit/ef87d7847980e0cf83f4b7f3ff23e6590f…
- https://github.com/OpenZeppelin/cairo-contracts/releases/tag/v0.16.0
- https://github.com/OpenZeppelin/cairo-contracts/security/advisories/GHSA-w2px-25pm-2cf9
Related at Berigo
Articles
-
Nine advisories in one day, from brake computers to ship transponders
Same product
2026-08-25
CISA published seven new ICS advisories on 25 August 2026 and revised two older ones the same day. Five of the nine carry a top CVSS v3.1 score of 9.…
-
Three identity moves for security leaders in the age of AI
Same product
2026-07-28
AI agents act as digital employees with access of their own, writes John Zhao at ISACA. He recommends behaviour-based authentication, governing the a…
-
Critical SharePoint vulnerability now actively exploited
Same product
2026-07-16
CVE-2026-58644 allows remote code execution in Microsoft SharePoint and entered CISA's known exploited catalogue days after publication.
-
ErrTraffic: ClickFix framework sold as a service
Same product
2026-06-16
Sekoia describes a JavaScript framework delivering ClickFix lures from compromised websites, steered via blockchain smart contracts.
Services
-
Risk Services
Risk management, privacy and supplier security as an integral part of governance. Berigo helps boards and executives understand, prioritise and manag…
-
CISO as a Service
With CISO as a Service, an external CISO from Berigo leads your security work and reports to management and the board. You get security leadership wi…
-
Security due diligence: assessing the target company's security
Security due diligence is an independent security assessment of the target company before an investment, acquisition or strategic change. Berigo give…
-
NIS2 for the Board
NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.