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 (74.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 75th percentile — 74.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000
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
- 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)
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.