Privilege Escalation Affecting @openzeppelin/contracts-upgradeable package, versions >=4.0.0-beta.0 <4.3.1 <3.4.2
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-OPENZEPPELINCONTRACTSUPGRADEABLE-1570169
- published 27 Aug 2021
- disclosed 27 Aug 2021
- credit Unknown
How to fix?
Upgrade @openzeppelin/contracts-upgradeable
to version 4.3.1, 3.4.2 or higher.
Overview
@openzeppelin/contracts-upgradeable is a Secure Smart Contract library for Solidity.
Affected versions of this package are vulnerable to Privilege Escalation. A vulnerability in TimelockController allowed an actor with the executor role to escalate privileges.
As a workaround, revoke the executor role from accounts not strictly under the team's control. It is recommended to revoke all executors that are not also proposers. When applying this mitigation, ensure there is at least one proposer and executor remaining.