Vulnerability in Openzeppelin Cairo-contracts
CVE-2024-45304
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…
EPSS: 0.004 (63.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Openzeppelin Cairo-contracts — versions < 0.16.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- 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)
Frequently asked questions
- What is CVE-2024-45304?
- CVE-2024-45304 is a medium-severity vulnerability in Openzeppelin Cairo-contracts, classified under Always-Incorrect Control Flow Implementation. CVSS score: 5.3/10. Published 2024-08-30.
- How severe is CVE-2024-45304?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2024-45304 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.