Security mailing lists by PureSourceCode

CVE-2021-46320

HIGH 7.5CVSS 3.1

Improper Initialization in OpenZeppelin

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.

Published
4 Feb 2022
Last modified
16 Jul 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-665
Also known as
CVE-2022-39384GHSA-88g8-f5mf-f5rjGHSA-9c22-pwxw-p6hx
Sources
NVDJSONOSV GHSA-88g8-f5mf-f5rjJSONOSV GHSA-9c22-pwxw-p6hxJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.6 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openzeppelin openzeppelin
cpe:2.3:a:openzeppelin:openzeppelin:*:*:*:*:*:*:*:*
>= 3.2.0, <= 4.4.0
OSV npm @openzeppelin/contracts < 4.4.1 4.4.1
OSV npm @openzeppelin/contracts >= 3.2.0, < 4.4.1 4.4.1
OSV npm @openzeppelin/contracts-upgradeable >= 3.2.0, < 4.4.1 4.4.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Feb 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 14 Dec 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.