CVE-2021-39168: TimelockController vulnerability in OpenZeppelin Contracts

Published Aug 26, 2021
·
Updated

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 Software

2 affected components
OpenZeppelin Contracts Node.js>=3.3.0<3.4.2
OpenZeppelin Contracts Node.js>=4.0.0<4.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Revoke the TimelockController executor role from all accounts that are not strictly under the team's control (workaround: revoke executors that are not also proposers). Ensure there is at least one proposer and one executor remaining after the change.

    OpenZeppelin Contracts TimelockController executor role assignment = Revoke executor role from accounts that are not strictly under the team's control

Event History

Aug 26, 2021
CVE Published
via MITRE·11:35 PM
Data Sourced
via MITRE·11:35 PM
DescriptionSeverityWeakness
Aug 27, 2021
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-39168?

The severity of CVE-2021-39168 is critical.

2

What is the affected software version range for CVE-2021-39168?

The affected software versions for CVE-2021-39168 are between 3.3.0 and 3.4.2, and between 4.0.0 and 4.3.1.

3

What is the workaround for CVE-2021-39168?

As a workaround for CVE-2021-39168, revoke the executor role from the affected TimelockController.

4

Where can I find more information about CVE-2021-39168?

You can find more information about CVE-2021-39168 in the following references: [Link 1](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/security/advisories/GHSA-vrw4-w73r-6mm8), [Link 2](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md#431), [Link 3](https://github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d62846da212515d99dd5).

5

What is the CWE ID for CVE-2021-39168?

The CWE ID for CVE-2021-39168 is 269.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203