CVE-2021-39167
CRITICAL 9.8CVSS 3.1TimelockController vulnerability in OpenZeppelin Contracts
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.
- Published
- 27 Aug 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-269
- Also known as
- GHSA-fg47-3c2x-m2wr
- Sources
- NVDJSONOSV GHSA-fg47-3c2x-m2wrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openzeppelin | contractscpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:* |
>= 3.3.0, < 3.4.2 | 3.4.2 |
| NVD | openzeppelin | contractscpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:* |
>= 4.0.0, < 4.3.1 | 4.3.1 |
| OSV | npm | @openzeppelin/contracts | >= 4.0.0, < 4.3.1 | 4.3.1 |
| OSV | npm | @openzeppelin/contracts | >= 3.3.0, < 3.4.2 | 3.4.2 |
References
- https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md#431 · Patch, Release Notes, Third Party Advisory, WEB
- https://github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d62846da212515d99dd5 · Patch, Third Party Advisory, WEB
- https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-fg47-3c2x-m2wr · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-39167 · ADVISORY
- https://github.com/OpenZeppelin/openzeppelin-contracts · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Aug 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Aug 2021)