ghsa-5vp3-v4hc-gx76
Vulnerability from github
Published
2021-09-15 20:23
Modified
2021-11-16 21:44
Severity ?
VLAI Severity ?
Summary
UUPSUpgradeable vulnerability in @openzeppelin/contracts
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
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "@openzeppelin/contracts" }, "ranges": [ { "events": [ { "introduced": "4.1.0" }, { "fixed": "4.3.2" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "@openzeppelin/contracts-upgradeable" }, "ranges": [ { "events": [ { "introduced": "4.1.0" }, { "fixed": "4.3.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-41264" ], "database_specific": { "cwe_ids": [ "CWE-665" ], "github_reviewed": true, "github_reviewed_at": "2021-09-14T22:17:42Z", "nvd_published_at": "2021-11-12T18:15:00Z", "severity": "CRITICAL" }, "details": "### Impact\n\nUpgradeable contracts using `UUPSUpgradeable` may be vulnerable to an attack affecting uninitialized implementation contracts. We will update this advisory with more information soon.\n\n### Patches\n\nA fix is included in version 4.3.2 of `@openzeppelin/contracts` and `@openzeppelin/contracts-upgradeable`.\n\n### Workarounds\n\nInitialize 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).\n\n### References\n\n[Post-mortem](https://forum.openzeppelin.com/t/uupsupgradeable-vulnerability-post-mortem/15680).\n\n### For more information\n\nIf you have any questions or comments about this advisory, or need assistance executing the mitigation, email us at security@openzeppelin.com.", "id": "GHSA-5vp3-v4hc-gx76", "modified": "2021-11-16T21:44:47Z", "published": "2021-09-15T20:23:17Z", "references": [ { "type": "WEB", "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-5vp3-v4hc-gx76" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41264" }, { "type": "WEB", "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/commit/024cc50df478d2e8f78539819749e94d6df60592" }, { "type": "WEB", "url": "https://forum.openzeppelin.com/t/security-advisory-initialize-uups-implementation-contracts/15301" }, { "type": "PACKAGE", "url": "https://github.com/OpenZeppelin/openzeppelin-contracts" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "UUPSUpgradeable vulnerability in @openzeppelin/contracts" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…