Privilege escalation in Openzeppelin Contracts
CVE-2021-39167
OpenZepplin is a library for smart contract development. In affected versions a vulnerability in TimelockController allowed an actor with the executor role to escalate privileges. Further details about the vulnerability will be disclosed at a later date. As a workaround revoke the executor role from accounts not strictly under the team's control. We recommend revoking all executors that are not also proposers. When applying this mitigation, ensure there is at least one proposer and executor remaining.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.016, 76.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Openzeppelin Contracts
- Openzeppelin Openzeppelin-Contracts — versions >=4.0.0, < 4.3.1, >=3.3.0, < 3.4.2, >= 3.3.0-solc-0.7, < 3.4.2-solc-0.7
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (chloegeo/sc). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d6284… (Patch, Third Party Advisory)
- github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md (Patch, Third Party Advisory, Release Notes)
- github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-fg47-3c… (Third Party Advisory)