CVE-2021-39168
Last modified
CVE-2021-39168 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.59% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openzeppelin | Contracts | >= 3.3.0, < 3.4.2 |
| Openzeppelin | Contracts | >= 4.0.0, < 4.3.1 |
References
- https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md#431Patch, Release Notes, Third Party Advisory
- https://github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d62846da212515d99dd5Patch, Third Party Advisory
- https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md#431Patch, Release Notes, Third Party Advisory
- https://github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d62846da212515d99dd5Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-39168?
How severe is CVE-2021-39168?
How do I fix CVE-2021-39168?
Are you affected by CVE-2021-39168?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
