CVE-2021-41264: UUPSUpgradeable vulnerability in OpenZeppelin Contracts

Published Nov 12, 2021
·
Updated

OpenZeppelin Contracts is a library for smart contract development. In affected versions upgradeable contracts using UUPSUpgradeable may be vulnerable to an attack affecting uninitialized implementation contracts. A fix is included in version 4.3.2 of @openzeppelin/contracts and @openzeppelin/contracts-upgradeable. For users unable to upgrade; initialize implementation contracts using UUPSUpgradeable by invoking the initializer function (usually called initialize). An example is provided in the forum.

Affected Software

1 affected component
OpenZeppelin Contracts Node.js>=4.1.0<4.3.2

Event History

Nov 12, 2021
CVE Published
via MITRE·05:55 PM
Data Sourced
via MITRE·05:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
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 CVE-2021-41264?

CVE-2021-41264 is a vulnerability in OpenZeppelin Contracts library that affects upgradeable contracts using UUPSUpgradeable and allows for attacks on uninitialized implementation contracts.

2

How severe is CVE-2021-41264?

CVE-2021-41264 has a severity rating of 9.8 (critical).

3

Which versions of OpenZeppelin Contracts are affected by CVE-2021-41264?

Versions between 4.1.0 and 4.3.2 of OpenZeppelin Contracts are affected by CVE-2021-41264.

4

How can I fix CVE-2021-41264?

To fix CVE-2021-41264, upgrade to version 4.3.2 of @openzeppelin/contracts.

5

Where can I find more information about CVE-2021-41264?

More information about CVE-2021-41264 can be found in the OpenZeppelin forum and GitHub repositories.

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