Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. contracts-upgradeable
  4. ›
  5. CVE-2021-41264

CVE-2021-41264: Improper Initialization

September 15, 2021 (updated November 16, 2021)

OpenZeppelin Contracts is a library for smart contract development.A fix is included 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.

References

  • forum.openzeppelin.com/t/security-advisory-initialize-uups-implementation-contracts/15301
  • github.com/OpenZeppelin/openzeppelin-contracts/commit/024cc50df478d2e8f78539819749e94d6df60592
  • github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-5vp3-v4hc-gx76
  • github.com/advisories/GHSA-5vp3-v4hc-gx76
  • nvd.nist.gov/vuln/detail/CVE-2021-41264

Code Behaviors & Features

Detect and mitigate CVE-2021-41264 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.1.0 before 4.3.2

Fixed versions

  • 4.3.2

Solution

Upgrade to version 4.3.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-665: Improper Initialization

Source file

npm/contracts-upgradeable/CVE-2021-41264.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:22 +0000.