Vulnerabilities · 2021 · Openzeppelin
CVE-2021-39167
Openzeppelin Contracts vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Contracts. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openzeppelin Contracts runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md#431 · Patch
- github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d62846da212515d9 · Patch
- github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-fg47-3c2x-m2wr · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-39167
- cve.org/CVERecord?id=CVE-2021-39167
More vulnerabilities in Openzeppelin products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.