GHSA-q4h9-46xg-m3x9

Suggest an improvement
Source
https://github.com/advisories/GHSA-q4h9-46xg-m3x9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-q4h9-46xg-m3x9/GHSA-q4h9-46xg-m3x9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q4h9-46xg-m3x9
Published
2021-09-15T20:22:13Z
Modified
2021-09-14T22:17:40Z
Summary
UUPSUpgradeable vulnerability in @openzeppelin/contracts-upgradeable
Details

Impact

Upgradeable contracts using UUPSUpgradeable may be vulnerable to an attack affecting uninitialized implementation contracts. We will update this advisory with more information soon.

Patches

A fix is included in version 4.3.2 of @openzeppelin/contracts and @openzeppelin/contracts-upgradeable.

Workarounds

Initialize implementation contracts using UUPSUpgradeable by invoking the initializer function (usually called initialize). An example is provided in the forum.

References

A post-mortem will be published in a few days in the OpenZeppelin Forum.

For more information

If you have any questions or comments about this advisory, or need assistance executing the mitigation, email us at security@openzeppelin.com.

Database specific
{
    "cwe_ids":  [],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-09-14T22:17:40Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / @openzeppelin/contracts-upgradeable

Package

Name
@openzeppelin/contracts-upgradeable
View open source insights on deps.dev
Purl
pkg:npm/%40openzeppelin/contracts-upgradeable

Affected ranges

Type
SEMVER
Events
Introduced
4.1.0
Fixed
4.3.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-q4h9-46xg-m3x9/GHSA-q4h9-46xg-m3x9.json"