Privilege escalation in Openzeppelin Contracts
CVE-2021-39168
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
EPSS: 0.016 (73.1th percentile) — read the EPSS interpretation.
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.
Affected products
- Openzeppelin Contracts
- Openzeppelin Openzeppelin-contracts-upgradeable — 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)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2021-39168?
- CVE-2021-39168 is a critical-severity vulnerability in Openzeppelin Contracts, classified under Improper Privilege Management. CVSS score: 10.0/10. Published 2021-08-27.
- How severe is CVE-2021-39168?
- Critical severity. CVSS v3 base score is 10.0 out of 10.