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
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 — 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 proof-of-concept exploits
References
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC, Release Notes)
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-39167?
- CVE-2021-39167 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-39167?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2021-39167 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.