原始 OSV JSON{
"id": "GHSA-5vp3-v4hc-gx76",
"aliases": [
"CVE-2021-41264"
],
"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 [email protected] .",
"summary": "UUPSUpgradeable vulnerability in @openzeppelin/contracts",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.1.0"
},
{
"fixed": "4.3.2"
}
]
}
],
"package": {
"name": "@openzeppelin/contracts",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.1.0"
},
{
"fixed": "4.3.2"
}
]
}
],
"package": {
"name": "@openzeppelin/contracts-upgradeable",
"ecosystem": "npm"
}
}
],
"modified": "2021-11-16T21:44:47Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2021-09-15T20:23:17Z",
"references": [
{
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-5vp3-v4hc-gx76",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41264",
"type": "ADVISORY"
},
{
"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": "WEB"
},
{
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"type": "PACKAGE"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-665"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2021-11-12T18:15:00Z",
"github_reviewed_at": "2021-09-14T22:17:42Z"
}
}