CVE-2021-39168
published 2021-08-27CVE-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…
PriorityP355critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.59%
72.9th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| openzeppelin | contracts | >= 3.3.0 < 3.4.2 | 3.4.2 |
| openzeppelin | contracts | >= 4.0.0 < 4.3.1 | 4.3.1 |
| openzeppelin | contracts-upgradeable | >= 3.3.0 < 3.4.2 | 3.4.2 |
| openzeppelin | contracts-upgradeable | >= 4.0.0 < 4.3.1 | 4.3.1 |
| openzeppelin | openzeppelin-contracts-upgradeable | — | — |
| openzeppelin | openzeppelin-contracts-upgradeable | — | — |
| openzeppelin | openzeppelin-contracts-upgradeable | — | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
TimelockController vulnerability in OpenZeppelin Contracts
osv·2021-08-30
CVE-2021-39168 [CRITICAL] TimelockController vulnerability in OpenZeppelin Contracts
TimelockController vulnerability in OpenZeppelin Contracts
### Impact
A vulnerability in `TimelockController` allowed an actor with the executor role to take immediate control of the timelock, by resetting the delay to 0 and escalating privileges, thus gaining unrestricted access to assets held in the contract. Instances with the executor role set to "open" allow anyone to use the executor role, thus leaving the timelock at risk of being taken over by an attacker.
### Patches
A fix is included in the following releases of `@openzeppelin/contracts` and `@openzeppelin/contracts-upgradeable`:
- 4.3.1
- 3.4.2
- 3.4.2-solc-0.7
Deployed instances of `TimelockController` should be replaced with a fixed version by migrating all assets, ownership, and roles.
### Workarounds
Revoke the execut
GHSA
TimelockController vulnerability in OpenZeppelin Contracts
ghsa·2021-08-30
CVE-2021-39168 [CRITICAL] CWE-269 TimelockController vulnerability in OpenZeppelin Contracts
TimelockController vulnerability in OpenZeppelin Contracts
### Impact
A vulnerability in `TimelockController` allowed an actor with the executor role to take immediate control of the timelock, by resetting the delay to 0 and escalating privileges, thus gaining unrestricted access to assets held in the contract. Instances with the executor role set to "open" allow anyone to use the executor role, thus leaving the timelock at risk of being taken over by an attacker.
### Patches
A fix is included in the following releases of `@openzeppelin/contracts` and `@openzeppelin/contracts-upgradeable`:
- 4.3.1
- 3.4.2
- 3.4.2-solc-0.7
Deployed instances of `TimelockController` should be replaced with a fixed version by migrating all assets, ownership, and roles.
### Workarounds
Revoke the execut
No detection rules found.
No public exploits indexed.
https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/security/advisories/GHSA-vrw4-w73r-6mm8https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md#431https://github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d62846da212515d99dd5https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/security/advisories/GHSA-vrw4-w73r-6mm8https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md#431https://github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d62846da212515d99dd5
2021-08-27
Published