CVE-2021-39167 TimelockController vulnerability in OpenZeppelin Contracts
CriticalCVSS 9.8
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openzeppelin @openzeppelin/contracts | >= 3.3.0, < 3.4.2; >= 4.0.0, < 4.3.1 | 3.4.2, 4.3.1 | Fixed |
| openzeppelin @openzeppelin/contracts(npm) | >= 3.3.0, < 3.4.2; >= 4.0.0, < 4.3.1 | 3.4.2, 4.3.1 | Fixed |
| openzeppelin-contracts | = >=3.3.0, < 3.4.2; = >= 3.3.0-solc-0.7, < 3.4.2-solc-0.7; = >=4.0.0, < 4.3.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openzeppelin @openzeppelin/contracts(npm) | >= 4.0.0, < 4.3.1 | 4.3.1 |
| openzeppelin @openzeppelin/contracts(npm) | >= 3.3.0, < 3.4.2 | 3.4.2 |
| openzeppelin @openzeppelin/contracts | >= 3.3.0, < 3.4.2 | 3.4.2 |
| openzeppelin @openzeppelin/contracts | >= 4.0.0, < 4.3.1 | 4.3.1 |
| openzeppelin-contracts | = >=4.0.0, < 4.3.1 | No fix listed |
| openzeppelin-contracts | = >=3.3.0, < 3.4.2 | No fix listed |
| openzeppelin-contracts | = >= 3.3.0-solc-0.7, < 3.4.2-solc-0.7 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch release-notes third-party-advisory
- github.com
- github.com product