CVE-2021-46320: High severity openzeppelin contracts vulnerability

Published Feb 4, 2022
·
Updated

In OpenZeppelin <=v4.4.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, breaking the expectation that there is a single execution.

Affected Software

1 affected component
OpenZeppelin OpenZeppelin>=3.2.0<=4.4.0

Event History

Feb 4, 2022
CVE Published
via MITRE·11:35 AM
Data Sourced
via MITRE·11:35 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2021-46320.

2

What is the severity of CVE-2021-46320?

The severity of CVE-2021-46320 is high, with a severity value of 7.5.

3

Which software versions are affected by CVE-2021-46320?

OpenZeppelin versions 3.2.0 to 4.4.0 are affected by CVE-2021-46320.

4

How can this vulnerability be exploited?

This vulnerability can be exploited by invoking initializer functions separately from contract creation and making an untrusted non-view external call.

5

Is there a fix for CVE-2021-46320?

Yes, OpenZeppelin has released a fix for CVE-2021-46320. It is recommended to update to a version higher than 4.4.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203