{"id":"CVE-2024-45304","published":"2024-08-30T23:51:01Z","modified":"2024-09-03T19:52:20Z","title":"OwnableTwoStep allows a pending owner to accept ownership after the original owner has renounced ownership in…","vendor":"OpenZeppelin","product":"cairo-contracts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00479,"percentile":0.42265,"provenance":"source"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"references":[{"url":"https://github.com/OpenZeppelin/cairo-contracts/security/advisories/GHSA-w2px-25pm-2cf9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenZeppelin/cairo-contracts/commit/ef87d7847980e0cf83f4b7f3ff23e6590fb643ec","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenZeppelin/cairo-contracts/releases/tag/v0.16.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":8.45},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"openzeppelin","affectedVersions":[{"vendor":"OpenZeppelin","product":"cairo-contracts","versions":["< 0.16.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-03T19:52:10.317679Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-41428","exploited":false,"provenance":"source"}}