QID 981059

QID 981059: Nodejs (npm) Security Update for @openzeppelin/contracts-upgradeable (GHSA-vrw4-w73r-6mm8)

Security update has been released for @openzeppelin/contracts-upgradeable to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

A vulnerability in `TimelockController` allowed an actor with the executor role to take immediate control of the timelock, by resetting the delay to 0 and escalating privileges, thus gaining unrestricted access to assets held in the contract. Instances with the executor role set to "open" allow anyone to use the executor role, thus leaving the timelock at risk of being taken over by an attacker.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    A fix is included in the following releases of `@openzeppelin/contracts` and `@openzeppelin/contracts-upgradeable`:
    - 4.3.1
    - 3.4.2
    - 3.4.2-solc-0.7

    Deployed instances of `TimelockController` should be replaced with a fixed version by migrating all assets, ownership, and roles.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.
    Vendor References

    CVEs related to QID 981059

    Software Advisories
    Advisory ID Software Component Link
    GHSA-vrw4-w73r-6mm8 @openzeppelin/contracts-upgradeable URL Logo github.com/advisories/GHSA-vrw4-w73r-6mm8