Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-39384: Update initializer modifier to prevent reentrancy during initialization by Amxx · Pull Request #3006 · OpenZeppelin/openzeppelin-contracts

OpenZeppelin Contracts is a library for secure smart contract development. Before version 4.4.1 but after 3.2.0, initializer functions that are invoked separate from contract creation (the most prominent example being minimal proxies) may be reentered if they make an untrusted non-view external call. Once an initializer has finished running it can never be re-executed. However, an exception put in place to support multiple inheritance made reentrancy possible in the scenario described above, breaking the expectation that there is a single execution. Note that upgradeable proxies are commonly initialized together with contract creation, where reentrancy is not feasible, so the impact of this issue is believed to be minor. This issue has been patched, please upgrade to version 4.4.1. As a workaround, avoid untrusted external calls during initialization.

CVE
#cisco#auth

Conversation

frangio changed the title update initializer contract to prevent reentry during initialization Update initializer modifier to prevent reentrancy during initialization

Dec 7, 2021

frangio added a commit that referenced this pull request

Dec 10, 2021

…on (#3006)

Co-authored-by: Francisco Giordano [email protected] (cherry picked from commit 08840b9)

Amxx deleted the refactor/initialize branch

Dec 10, 2021

This was referenced

Dec 14, 2021

This was referenced

Jan 11, 2022

This was referenced

Jan 21, 2022

davidbrai added a commit to withtally/dao.new that referenced this pull request

Jan 26, 2022

This was referenced

Feb 9, 2022

paulrberg added a commit to hifi-finance/hifi that referenced this pull request

Mar 3, 2022

refactor(protocol): mark init function as “internal” in OwnableUpgradeable refactor(protocol): rename “__OwnableUpgradeable_init” to “__Ownable_init” test(protocol): new GodModeOwnableUpgradeable to expose init function

See releated discussion in OpenZeppelin/openzeppelin-contracts#3006

This was referenced

Mar 7, 2022

This was referenced

Oct 17, 2022

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907