CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Openzeppelin

CVE-2021-41264
Openzeppelin Contracts vulnerability

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](https://forum.openzeppelin.com/t/security-advisory-initialize-uups-implementation-contracts/15301).

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Contracts. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Openzeppelin Contracts runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Openzeppelin products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.