Vulnerability · Published Aug 26, 2021 · Assigned by GitHub_M

CVE-2021-39167TimelockController vulnerability in OpenZeppelin Contracts

Critical 10.0

In plain English

A critical-severity privilege mismanagement in openzeppelin-contracts from OpenZeppelin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)1.6%top 24.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@openzeppelin/contracts4.3.1GHSA-fg47-3c2x-m2wr
npm@openzeppelin/contracts3.4.2GHSA-fg47-3c2x-m2wr

Affected products (as reported)

VendorProductVersions
OpenZeppelin openzeppelin-contracts >=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: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References