{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-45304","published":"2024-08-31T00:15:05.493000Z","last_modified":"2026-06-17T07:53:59.290000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-670"],"cpes":[{"criteria":"cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:cairo:*:*","part":"a","vendor":"openzeppelin","product":"contracts","version_end_excluding":"0.16.0"}],"cpes_truncated":false,"vendors":["openzeppelin"],"products":["openzeppelin/contracts"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00779,"percentile":0.52415,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2024-45304/","html_en":"/en/cve/CVE-2024-45304/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-45304","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-45304"},"untrusted":{"vendor_name":"Openzeppelin","product_name":"Contracts","desc_en":"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.","affected":[{"untrusted_vendor":"OpenZeppelin","untrusted_product":"cairo-contracts","versions":[]}],"references":[{"url":"https://github.com/OpenZeppelin/cairo-contracts/commit/ef87d7847980e0cf83f4b7f3ff23e6590fb643ec","tags":["Patch"]},{"url":"https://github.com/OpenZeppelin/cairo-contracts/releases/tag/v0.16.0","tags":["Release Notes"]},{"url":"https://github.com/OpenZeppelin/cairo-contracts/security/advisories/GHSA-w2px-25pm-2cf9","tags":["Vendor Advisory"]}]}}